diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-02 09:57:30 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-02 09:57:30 +0000 |
commit | 3db07d7c336edac8040d7873669011479507d64e (patch) | |
tree | e9a13135300a548c29f1eace6f3baf68a5af9e78 /media-libs/libcddb | |
parent | Version bump pyasn1 to 0.1.2 for bug 404559. (diff) | |
download | gentoo-2-3db07d7c336edac8040d7873669011479507d64e.tar.gz gentoo-2-3db07d7c336edac8040d7873669011479507d64e.tar.bz2 gentoo-2-3db07d7c336edac8040d7873669011479507d64e.zip |
USE="static-libs" and punt useless libcddb.la libtool archive in favour of libcddb.pc pkg-config file wrt #385127 by "Hans"
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libcddb')
-rw-r--r-- | media-libs/libcddb/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libcddb/libcddb-1.3.2.ebuild | 30 |
2 files changed, 22 insertions, 16 deletions
diff --git a/media-libs/libcddb/ChangeLog b/media-libs/libcddb/ChangeLog index 3971c3b7912c..7c7d5a6ff06b 100644 --- a/media-libs/libcddb/ChangeLog +++ b/media-libs/libcddb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libcddb -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/ChangeLog,v 1.58 2010/01/15 09:28:07 fauli Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/ChangeLog,v 1.59 2012/03/02 09:57:30 ssuominen Exp $ + + 02 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> libcddb-1.3.2.ebuild: + USE="static-libs" and punt useless libcddb.la libtool archive in favour of + libcddb.pc pkg-config file wrt #385127 by "Hans" 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> libcddb-1.3.2.ebuild: Transfer Prefix keywords diff --git a/media-libs/libcddb/libcddb-1.3.2.ebuild b/media-libs/libcddb/libcddb-1.3.2.ebuild index 95215a0b05c8..e3c9731e1224 100644 --- a/media-libs/libcddb/libcddb-1.3.2.ebuild +++ b/media-libs/libcddb/libcddb-1.3.2.ebuild @@ -1,47 +1,49 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/libcddb-1.3.2.ebuild,v 1.10 2010/01/15 09:28:07 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/libcddb-1.3.2.ebuild,v 1.11 2012/03/02 09:57:30 ssuominen Exp $ -EAPI=2 +EAPI=4 inherit libtool DESCRIPTION="A library for accessing a CDDB server" -HOMEPAGE="http://libcddb.sourceforge.net" +HOMEPAGE="http://libcddb.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="LGPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="doc" +IUSE="doc static-libs" RDEPEND="virtual/libiconv" DEPEND="doc? ( app-doc/doxygen )" RESTRICT="test" +DOCS="AUTHORS ChangeLog NEWS README THANKS TODO" + src_prepare() { - # needed for sane .so versionning on FreeBSD - elibtoolize + elibtoolize # Sanitizing .so version for FreeBSD } src_configure() { - econf --without-cdio + econf \ + $(use_enable static-libs static) \ + --without-cdio } src_compile() { - emake || die "emake failed." + default - # Create API docs if needed and possible if use doc; then cd doc - doxygen doxygen.conf || die "doxygen failed" + doxygen doxygen.conf || die fi } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README THANKS TODO + default + + rm -f "${ED}"/usr/lib*/libcddb.la - # Create API docs if needed and possible use doc && dohtml doc/html/* } |