/[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.2 - (hide annotations) (download)
Tue Feb 21 14:56:24 2012 UTC (8 years ago) by ago
Branch: MAIN
Changes since 1.1: +3 -3 lines
Stable for amd64, wrt bug #404835

(Portage version: 2.1.10.44/cvs/Linux x86_64)

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 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild,v 1.1 2005/11/15 00:47:32 vapier 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 ago 1.2 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