diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2004-09-22 22:17:04 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2004-09-22 22:17:04 +0000 |
commit | 6144772d601cfd344975f9fe09e7c4a16f5a54e8 (patch) | |
tree | ff848963ef1f095f4cc8451fe7e4c69b99ebe0d8 /app-pda/iripdb | |
parent | ppc stable profile update (diff) | |
download | historical-6144772d601cfd344975f9fe09e7c4a16f5a54e8.tar.gz historical-6144772d601cfd344975f9fe09e7c4a16f5a54e8.tar.bz2 historical-6144772d601cfd344975f9fe09e7c4a16f5a54e8.zip |
Respecting CC and CFLAGS now.
Diffstat (limited to 'app-pda/iripdb')
-rw-r--r-- | app-pda/iripdb/ChangeLog | 5 | ||||
-rw-r--r-- | app-pda/iripdb/Manifest | 5 | ||||
-rw-r--r-- | app-pda/iripdb/iripdb-0.1.1.ebuild | 30 |
3 files changed, 32 insertions, 8 deletions
diff --git a/app-pda/iripdb/ChangeLog b/app-pda/iripdb/ChangeLog index d9a9db812fae..9e051b15ea4d 100644 --- a/app-pda/iripdb/ChangeLog +++ b/app-pda/iripdb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-pda/iripdb # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/iripdb/ChangeLog,v 1.1 2004/09/22 18:08:50 fafhrd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/iripdb/ChangeLog,v 1.2 2004/09/22 22:17:04 fafhrd Exp $ + + 22 Sep 2004; Armando Di Cianno <fafhrd@gentoo.org> iripdb-0.1.1.ebuild: + Using CC instead of gcc; respecting CFLAGS. *iripdb-0.1.1 (22 Sep 2004) diff --git a/app-pda/iripdb/Manifest b/app-pda/iripdb/Manifest index db6a392d7049..ae322614f8bf 100644 --- a/app-pda/iripdb/Manifest +++ b/app-pda/iripdb/Manifest @@ -1,3 +1,4 @@ -MD5 53c11476ac2f2668f4c154c1d0055e44 metadata.xml 789 -MD5 a24d17d21e3f04c7c3bc070f335064b8 iripdb-0.1.1.ebuild 809 +MD5 228c1cbb824b0ec43de81d6d6e3a1e08 ChangeLog 485 +MD5 f884d2b08eefef254e63415960a233a4 metadata.xml 725 +MD5 42014c2f79f719d6548155ac5fcf7979 iripdb-0.1.1.ebuild 1524 MD5 75a18c7fcd88a614b247cd6fd269ae3f files/digest-iripdb-0.1.1 63 diff --git a/app-pda/iripdb/iripdb-0.1.1.ebuild b/app-pda/iripdb/iripdb-0.1.1.ebuild index d52bde068ecc..f171e0eb8910 100644 --- a/app-pda/iripdb/iripdb-0.1.1.ebuild +++ b/app-pda/iripdb/iripdb-0.1.1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/iripdb/iripdb-0.1.1.ebuild,v 1.1 2004/09/22 18:08:50 fafhrd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/iripdb/iripdb-0.1.1.ebuild,v 1.2 2004/09/22 22:17:04 fafhrd Exp $ S=${WORKDIR}/iRipDB-${PV} -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="iRipDB allows generating the DB files necessary for the iRiver iHP-1xx series of MP3/Ogg HD Player on Linux and Windows." HOMEPAGE="http://www.marevalo.net/iRipDB" @@ -20,10 +20,30 @@ DEPEND="virtual/libc =media-libs/libvorbis-1.0.1* =sys-libs/zlib-1.2.1*" +pkg_setup() { + if test_version_info 3.3 + then + einfo "Using gcc 3.3*" + # gcc 3.3 doesn't support certain 3.4.1 options, + # as well as having less specific -march options + replace-flags -march=pentium-m -march=pentium3 + filter-flags -march=k8 + filter-flags -march=athlon64 + filter-flags -march=opteron + strip-unsupported-flags + elif test_version_info 3.4 + then + einfo "Using gcc 3.4*" + fi +} + src_compile() { - gcc -c -o main.o main.c - gcc -c -o vcedit.o vcedit.c - gcc -o iripdb main.o vcedit.o -L/usr/lib -lz -lm -lid3 -lvorbis -logg -lstdc++ + echo "${CC} ${CFLAGS} -c -o main.o main.c" + ${CC} ${CFLAGS} -c -o main.o main.c + echo "${CC} ${CFLAGS} -c -o vcedit.o vcedit.c" + ${CC} ${CFLAGS} -c -o vcedit.o vcedit.c + echo "${CC} ${CFLAGS} -o iripdb main.o vcedit.o -lz -lm -lid3 -lvorbis -logg -lstdc++" + ${CC} ${CFLAGS} -o iripdb main.o vcedit.o -lz -lm -lid3 -lvorbis -logg -lstdc++ } src_install() { |