diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-07 15:44:25 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-03-07 15:44:25 +0000 |
commit | b659323b426a7fca6954ca6c33cb32212134fec5 (patch) | |
tree | fd685cb8c84cfcb73833998fd5d18fd859dc73dd /media-sound/rcenter | |
parent | Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS. (diff) | |
download | gentoo-2-b659323b426a7fca6954ca6c33cb32212134fec5.tar.gz gentoo-2-b659323b426a7fca6954ca6c33cb32212134fec5.tar.bz2 gentoo-2-b659323b426a7fca6954ca6c33cb32212134fec5.zip |
Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-sound/rcenter')
-rw-r--r-- | media-sound/rcenter/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/rcenter/files/digest-rcenter-0.6.1 | 1 | ||||
-rw-r--r-- | media-sound/rcenter/files/rcenter-0.6.2-makefile.patch | 16 | ||||
-rw-r--r-- | media-sound/rcenter/rcenter-0.6.1.ebuild | 32 | ||||
-rw-r--r-- | media-sound/rcenter/rcenter-0.6.2.ebuild | 15 |
5 files changed, 34 insertions, 39 deletions
diff --git a/media-sound/rcenter/ChangeLog b/media-sound/rcenter/ChangeLog index eda92c59e21c..1ec9859e9cb6 100644 --- a/media-sound/rcenter/ChangeLog +++ b/media-sound/rcenter/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/rcenter -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/ChangeLog,v 1.11 2004/11/23 05:59:01 eradicator Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/ChangeLog,v 1.12 2006/03/07 15:44:25 flameeyes Exp $ + + 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/rcenter-0.6.2-makefile.patch, -rcenter-0.6.1.ebuild, + rcenter-0.6.2.ebuild: + Drop virtual/libc dependency. Respect CC, CFLAGS and LDFLAGS. 22 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> rcenter-0.6.2.ebuild: diff --git a/media-sound/rcenter/files/digest-rcenter-0.6.1 b/media-sound/rcenter/files/digest-rcenter-0.6.1 deleted file mode 100644 index e29db381501f..000000000000 --- a/media-sound/rcenter/files/digest-rcenter-0.6.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 642ed4f630cb10ad0cd866d83b53d3a1 rcenter-0.6.1.tgz 14831 diff --git a/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch b/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch new file mode 100644 index 000000000000..2c5fbd761a83 --- /dev/null +++ b/media-sound/rcenter/files/rcenter-0.6.2-makefile.patch @@ -0,0 +1,16 @@ +Index: rcenter-0.6.2/Makefile +=================================================================== +--- rcenter-0.6.2.orig/Makefile ++++ rcenter-0.6.2/Makefile +@@ -19,9 +19,9 @@ button.o : button.c + main.o : main.c + + rcenter : main.o lowlevel.o handler.o button.o +- $(CC) $(CFLAGS) -o rcenter $^ -lpthread ++ $(CC) $(LDFLAGS) -o rcenter $^ -lpthread + +-projname := $(shell awk '/RCENTER_VERSION/ { print $$3 }' version.h ) ++projname := $(shell gawk '/RCENTER_VERSION/ { print $$3 }' version.h ) + + install: rcenter + install -D rcenter $(PREFIX)/bin/rcenter diff --git a/media-sound/rcenter/rcenter-0.6.1.ebuild b/media-sound/rcenter/rcenter-0.6.1.ebuild deleted file mode 100644 index 2b7c01e71428..000000000000 --- a/media-sound/rcenter/rcenter-0.6.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.1.ebuild,v 1.8 2005/07/09 16:29:58 swegener Exp $ - -DESCRIPTION="Rcenter - A program to control the EMU10K Remote Control" -HOMEPAGE="http://rooster.stanford.edu/~ben/projects/rcenter.php" -SRC_URI="http://rooster.stanford.edu/~ben/projects/${P}.tgz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" -DEPEND="virtual/libc" - -src_compile() { - emake || die -} - -src_install() { - chmod 755 rcenter - dobin rcenter - dodir /usr/share/rcenter - cp -R config ${D}/usr/share/rcenter/ - dodoc HISTORY LICENSE README -} - -pkg_postinst() { - einfo "Rcenter Installed - However You need to setup the scripts" - einfo "for making remote control commands actually work" - einfo - einfo "The Skel scripts can be copied from /usr/share/rcenter/config to <user>/.rcenter" - einfo "Where <user> is a person who will use rcenter" -} diff --git a/media-sound/rcenter/rcenter-0.6.2.ebuild b/media-sound/rcenter/rcenter-0.6.2.ebuild index 2793f38ced10..929bc4b9cd5c 100644 --- a/media-sound/rcenter/rcenter-0.6.2.ebuild +++ b/media-sound/rcenter/rcenter-0.6.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.2.ebuild,v 1.11 2005/07/09 16:29:58 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.2.ebuild,v 1.12 2006/03/07 15:44:25 flameeyes Exp $ + +inherit eutils toolchain-funcs IUSE="" @@ -13,10 +15,15 @@ SLOT="0" #-sparc: emu10k1 doesn't get recognized on sparc hardware KEYWORDS="amd64 -sparc x86" -DEPEND="virtual/libc" +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${P}-makefile.patch" +} src_compile() { - emake || die + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die } src_install() { |