/[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.1 - (hide annotations) (download)
Tue Nov 15 00:47:32 2005 UTC (14 years, 3 months ago) by vapier
Branch: MAIN
Clean up ebuild, add a patch from Fedora, and add back in missing KEYWORDS along with arm love.
(Portage version: 2.0.53_rc7)

1 vapier 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3.ebuild,v 1.3 2004/11/03 17:35:25 psi29a Exp $
4    
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     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~sparc ~x86"
14     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