summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-06-07 03:25:46 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-06-07 03:25:46 +0000
commit349573c8060a379898e3f83ec6785f05460dc475 (patch)
tree347ca4d1ed0b7ae910d589b00c86745ffdbfade6 /media-libs
parentclose #2703 (diff)
downloadhistorical-349573c8060a379898e3f83ec6785f05460dc475.tar.gz
historical-349573c8060a379898e3f83ec6785f05460dc475.tar.bz2
historical-349573c8060a379898e3f83ec6785f05460dc475.zip
Fix filesystem locations, mask old previos -r until it gets cleaned out of cvs
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/id3lib/ChangeLog9
-rw-r--r--media-libs/id3lib/files/digest-id3lib-3.8.0_pre2-r31
-rw-r--r--media-libs/id3lib/id3lib-3.8.0_pre2-r3.ebuild51
3 files changed, 60 insertions, 1 deletions
diff --git a/media-libs/id3lib/ChangeLog b/media-libs/id3lib/ChangeLog
index c7c168b15460..23e815883159 100644
--- a/media-libs/id3lib/ChangeLog
+++ b/media-libs/id3lib/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/id3lib
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.2 2002/05/05 10:56:36 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/ChangeLog,v 1.3 2002/06/07 03:25:45 lostlogic Exp $
+
+*id3lib-3.8.0_pre2-r3 (6 Jun 2002)
+
+ 6 Jun 2002; Brandon Low <lostlogic@lostlogicx.com> id3lib-3.8.0_pre2-r3.ebuild :
+
+ Fix installation locations, and CPPFLAG specifications, neaten ebuild, fixes issue
+ with grip not finding id3.h
*id3lib-3.8.0_pre2-r1 (5 May 2002)
diff --git a/media-libs/id3lib/files/digest-id3lib-3.8.0_pre2-r3 b/media-libs/id3lib/files/digest-id3lib-3.8.0_pre2-r3
new file mode 100644
index 000000000000..72c7aeafef6d
--- /dev/null
+++ b/media-libs/id3lib/files/digest-id3lib-3.8.0_pre2-r3
@@ -0,0 +1 @@
+MD5 48444a1eb634c034c05388e8e2bb5024 id3lib-3.8.0pre2.tar.gz 680219
diff --git a/media-libs/id3lib/id3lib-3.8.0_pre2-r3.ebuild b/media-libs/id3lib/id3lib-3.8.0_pre2-r3.ebuild
new file mode 100644
index 000000000000..93626d7135c5
--- /dev/null
+++ b/media-libs/id3lib/id3lib-3.8.0_pre2-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.0_pre2-r3.ebuild,v 1.1 2002/06/07 03:25:45 lostlogic Exp $
+
+A=${PN}-3.8.0pre2.tar.gz
+S=${WORKDIR}/${PN}-3.8.0pre2
+DESCRIPTION="Id3 library for C/C++"
+SRC_URI="mirror://sourceforge/id3lib/${A}"
+HOMEPAGE="http://id3lib.sourceforge.net/"
+LICENSE=GPL
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+
+ unpack ${A}
+
+ if [ "`gcc --version | cut -f1 -d.`" -eq 3 ] ||
+ ([ -n "${CXX}" ] && [ "`${CXX} --version | cut -f1 -d.`" -eq 3 ]) ||
+ [ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" -eq 3 ]
+ then
+ cd ${S}
+ # Patch for compilation with gcc-3.0.x thanks to Dirk Jagdmann (doj),
+ # and me (fixed the const char** in utils.cpp)
+ #
+ # Azarah - 5 May 2002
+ patch -p1 <${FILESDIR}/${P}-gcc3.patch || die
+ fi
+}
+
+src_compile() {
+
+ CPPFLAGS="${CPPFLAGS} -Wno-deprecated" \
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr || die
+
+ emake || die
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog HISTORY INSTALL README THANKS TODO
+# some example programs to be placed in docs dir.
+ make clean
+ cp -a examples ${D}/usr/share/doc/${PF}/examples
+}
+