diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-11-13 08:38:31 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-11-13 08:38:31 +0000 |
commit | a078230d76a32e9af6fe676a382a83d394ce5a07 (patch) | |
tree | e1186872d14363e9cc9d742f52564fdb93d8e830 /media-libs/libcddb | |
parent | stable x86, bug 198845 (diff) | |
download | gentoo-2-a078230d76a32e9af6fe676a382a83d394ce5a07.tar.gz gentoo-2-a078230d76a32e9af6fe676a382a83d394ce5a07.tar.bz2 gentoo-2-a078230d76a32e9af6fe676a382a83d394ce5a07.zip |
add a patch to build with asneeded on non glibc systems
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-libs/libcddb')
-rw-r--r-- | media-libs/libcddb/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libcddb/files/digest-libcddb-1.3.0-r1 | 3 | ||||
-rw-r--r-- | media-libs/libcddb/files/libcddb-1.3.0-asneeded-nonglibc.patch | 9 | ||||
-rw-r--r-- | media-libs/libcddb/libcddb-1.3.0-r1.ebuild | 44 |
4 files changed, 63 insertions, 1 deletions
diff --git a/media-libs/libcddb/ChangeLog b/media-libs/libcddb/ChangeLog index ba0b84a49117..b011c624992d 100644 --- a/media-libs/libcddb/ChangeLog +++ b/media-libs/libcddb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libcddb # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/ChangeLog,v 1.40 2007/08/02 12:30:10 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/ChangeLog,v 1.41 2007/11/13 08:38:30 aballier Exp $ + +*libcddb-1.3.0-r1 (13 Nov 2007) + + 13 Nov 2007; Alexis Ballier <aballier@gentoo.org> + +files/libcddb-1.3.0-asneeded-nonglibc.patch, +libcddb-1.3.0-r1.ebuild: + add a patch to build with asneeded on non glibc systems 02 Aug 2007; Raúl Porcel <armin76@gentoo.org> libcddb-1.3.0.ebuild: x86 stable diff --git a/media-libs/libcddb/files/digest-libcddb-1.3.0-r1 b/media-libs/libcddb/files/digest-libcddb-1.3.0-r1 new file mode 100644 index 000000000000..b660a212b459 --- /dev/null +++ b/media-libs/libcddb/files/digest-libcddb-1.3.0-r1 @@ -0,0 +1,3 @@ +MD5 e4a7f9579956c32b7f300eb12e9ea6df libcddb-1.3.0.tar.bz2 329319 +RMD160 d34588f416ba80ececb23ffcff3312fc0b699f30 libcddb-1.3.0.tar.bz2 329319 +SHA256 4e7d3aae339cf5037d972cd5f3ab23a3b643f6b05e4125430da4f22682770bf9 libcddb-1.3.0.tar.bz2 329319 diff --git a/media-libs/libcddb/files/libcddb-1.3.0-asneeded-nonglibc.patch b/media-libs/libcddb/files/libcddb-1.3.0-asneeded-nonglibc.patch new file mode 100644 index 000000000000..719eb70fe5af --- /dev/null +++ b/media-libs/libcddb/files/libcddb-1.3.0-asneeded-nonglibc.patch @@ -0,0 +1,9 @@ +--- libcddb-1.3.0/lib/Makefile.am.old 2007-11-13 08:09:20 +0000 ++++ libcddb-1.3.0/lib/Makefile.am 2007-11-13 08:09:41 +0000 +@@ -5,4 +5,5 @@ + libcddb_la_SOURCES = cddb_track.c cddb_disc.c cddb_regex.c cddb_error.c \ + cddb_conn.c cddb_cmd.c cddb_net.c cddb_log.c cddb_util.c \ + cddb.c cddb_site.c ll.c +-libcddb_la_LDFLAGS = -no-undefined -version-info 4:3:2 $(LIBICONV) ++libcddb_la_LDFLAGS = -no-undefined -version-info 4:3:2 ++libcddb_la_LIBADD = $(LIBICONV) diff --git a/media-libs/libcddb/libcddb-1.3.0-r1.ebuild b/media-libs/libcddb/libcddb-1.3.0-r1.ebuild new file mode 100644 index 000000000000..78bcee45f5f6 --- /dev/null +++ b/media-libs/libcddb/libcddb-1.3.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/libcddb-1.3.0-r1.ebuild,v 1.1 2007/11/13 08:38:30 aballier Exp $ + +inherit libtool autotools eutils + +DESCRIPTION="A library for accessing a CDDB server" +HOMEPAGE="http://libcddb.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +RESTRICT="test" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc" + +DEPEND="doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-asneeded-nonglibc.patch" + eautoreconf + elibtoolize +} + +src_compile() { + econf --without-cdio || die + emake || die + + # Create API docs if needed and possible + if use doc; then + cd doc + doxygen doxygen.conf || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + # Create API docs if needed and possible + use doc && dohtml doc/html/* +} |