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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20