/[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.6 - (hide annotations) (download)
Sun Mar 18 17:53:05 2012 UTC (7 years, 11 months ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
alpha/sparc stable wrt #404835

(Portage version: 2.1.10.49/cvs/Linux ia64)

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 armin76 1.6 # $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild,v 1.5 2012/02/24 19:42:36 ranger 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 armin76 1.6 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