/[gentoo-x86]/net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild
Gentoo

Contents of /net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri Feb 24 14:16:45 2012 UTC (7 years, 11 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #404835

(Portage version: 2.1.10.44/cvs/Linux i686)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 phajdan.jr 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild,v 1.3 2012/02/21 15:33:32 jer Exp $
4 vapier 1.1
5     inherit eutils
6    
7     DESCRIPTION="Sets up class-based queue traffic control (QoS) with iproute2"
8     HOMEPAGE="http://www.sourceforge.net/projects/cbqinit"
9     SRC_URI="mirror://sourceforge/cbqinit/cbq.init-v${PV}"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 phajdan.jr 1.4 KEYWORDS="~alpha amd64 ~arm hppa ~mips ~ppc ~sparc x86"
14 vapier 1.1 IUSE=""
15    
16     RDEPEND="sys-apps/iproute2"
17     DEPEND=""
18    
19     S=${WORKDIR}
20    
21     src_unpack() {
22     cp "${DISTDIR}"/cbq.init-v${PV} "${S}"/cbqinit || die
23     grep '^#' cbqinit > README
24     epatch "${FILESDIR}"/${P}-gentoo.patch
25     }
26    
27     src_install() {
28     dosbin cbqinit || die
29     newinitd "${FILESDIR}"/rc_cbqinit-r1 cbqinit
30     dodoc "${FILESDIR}"/cbq-1280.My_first_shaper.sample README
31     }

  ViewVC Help
Powered by ViewVC 1.1.20