diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-10 09:32:45 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-10 09:32:45 +0000 |
commit | 88de00dab4439a16eb137af22b349d44757ac62e (patch) | |
tree | 0ab02ab5f39b87f461e571c05fa1d7b42f2375a9 /app-misc/cdspeed | |
parent | clean older ebuild (Manifest recommit) (diff) | |
download | gentoo-2-88de00dab4439a16eb137af22b349d44757ac62e.tar.gz gentoo-2-88de00dab4439a16eb137af22b349d44757ac62e.tar.bz2 gentoo-2-88de00dab4439a16eb137af22b349d44757ac62e.zip |
don't assign default to S; depend on sed >= 4; error check sed; use user CFLAGS; tidy
Diffstat (limited to 'app-misc/cdspeed')
-rw-r--r-- | app-misc/cdspeed/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/cdspeed/cdspeed-0.3.ebuild | 26 |
2 files changed, 19 insertions, 13 deletions
diff --git a/app-misc/cdspeed/ChangeLog b/app-misc/cdspeed/ChangeLog index c3a5169a06fc..af249b7b8d88 100644 --- a/app-misc/cdspeed/ChangeLog +++ b/app-misc/cdspeed/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/cdspeed # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/cdspeed/ChangeLog,v 1.4 2004/04/10 09:28:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/cdspeed/ChangeLog,v 1.5 2004/04/10 09:32:45 mr_bones_ Exp $ + + 10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> cdspeed-0.3.ebuild: + don't assign default to S; depend on sed >= 4; error check sed; use user + CFLAGS; tidy 10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> cdspeed-0.2.ebuild: clean older ebuild diff --git a/app-misc/cdspeed/cdspeed-0.3.ebuild b/app-misc/cdspeed/cdspeed-0.3.ebuild index 5ed9e8415fb8..e07519cf9ec7 100644 --- a/app-misc/cdspeed/cdspeed-0.3.ebuild +++ b/app-misc/cdspeed/cdspeed-0.3.ebuild @@ -1,33 +1,35 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/cdspeed/cdspeed-0.3.ebuild,v 1.4 2004/02/29 17:19:59 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/cdspeed/cdspeed-0.3.ebuild,v 1.5 2004/04/10 09:32:45 mr_bones_ Exp $ DESCRIPTION="Change the speed of your CD drive." HOMEPAGE="http://linuxfocus.org/~guido/" -LICENSE="GPL-2" +SRC_URI="http://linuxfocus.org/~guido/${P}.tar.gz" -DEPEND="virtual/glibc" +LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips" +IUSE="" -SLOT="0" -SRC_URI="http://linuxfocus.org/~guido/${P}.tar.gz" -S=${WORKDIR}/${P} +RDEPEND="virtual/glibc" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" src_unpack() { unpack ${A} cd ${S} - sed -i -e "s:^CFLAGS=-O.*:CFLAGS=${CFLAGS}:" \ - Makefile + sed -i \ + -e 's:^CFLAGS=.*:CFLAGS=$(E_CFLAGS):' Makefile \ + || die "sed Makefile failed" } src_compile() { - emake || die + emake E_CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { - exeinto /usr/bin - doexe cdspeed + dobin cdspeed || die "dobin failed" exeinto /usr/lib/cdspeed - doexe cdmount + doexe cdmount || die "doexe failed" dodoc README } |