/[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.7 - (hide annotations) (download)
Tue Mar 5 09:18:23 2013 UTC (6 years, 11 months ago) by scarabeus
Branch: MAIN
Changes since 1.6: +7 -5 lines
Cleanup old keep only latest. Bump to eapi5 and use src_uri arrows.

(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

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

  ViewVC Help
Powered by ViewVC 1.1.20