/[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.1.1.1 Revision 1.8
1# Copyright 1999-2005 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.1.1.1 2005/11/30 09:55:10 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/cbqinit/cbqinit-0.7.3-r1.ebuild,v 1.8 2013/03/05 09:19:28 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=""
15 17
16RDEPEND="sys-apps/iproute2" 18RDEPEND="sys-apps/iproute2"
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
26}
27
28src_prepare() {
24 epatch "${FILESDIR}"/${P}-gentoo.patch 29 epatch "${FILESDIR}"/${P}-gentoo.patch
25} 30}
26 31
27src_install() { 32src_install() {
28 dosbin cbqinit || die 33 dosbin cbqinit
29 newinitd "${FILESDIR}"/rc_cbqinit-r1 cbqinit 34 newinitd "${FILESDIR}"/rc_cbqinit-r1 cbqinit
30 dodoc "${FILESDIR}"/cbq-1280.My_first_shaper.sample README 35 dodoc "${FILESDIR}"/cbq-1280.My_first_shaper.sample README
31} 36}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20