summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-05 17:40:01 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-05 17:40:01 +0000
commitae2578b85c9d5afd0b0a16e85278f20b29e97357 (patch)
tree3f76888cb266452ea17e04b47a77e5b1a056e5cc /dev-libs/libcdio
parentUse Python 2 (bug #315087). (diff)
downloadgentoo-2-ae2578b85c9d5afd0b0a16e85278f20b29e97357.tar.gz
gentoo-2-ae2578b85c9d5afd0b0a16e85278f20b29e97357.tar.bz2
gentoo-2-ae2578b85c9d5afd0b0a16e85278f20b29e97357.zip
Use static-libs useflag. Punt .la files.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r--dev-libs/libcdio/ChangeLog7
-rw-r--r--dev-libs/libcdio/libcdio-0.82.ebuild12
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-libs/libcdio/ChangeLog b/dev-libs/libcdio/ChangeLog
index 1511331e14a0..9b39d3a95a6f 100644
--- a/dev-libs/libcdio/ChangeLog
+++ b/dev-libs/libcdio/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libcdio
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.112 2010/02/03 16:08:05 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/ChangeLog,v 1.113 2011/04/05 17:40:01 scarabeus Exp $
+
+ 05 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> libcdio-0.82.ebuild:
+ Use static-libs useflag. Punt .la files.
03 Feb 2010; Tomáš Chvátal <scarabeus@gentoo.org> libcdio-0.82.ebuild:
Fix automagic cddb again. And it looks this time it is in upstream repo.
diff --git a/dev-libs/libcdio/libcdio-0.82.ebuild b/dev-libs/libcdio/libcdio-0.82.ebuild
index f23934801ebc..fac244d764ce 100644
--- a/dev-libs/libcdio/libcdio-0.82.ebuild
+++ b/dev-libs/libcdio/libcdio-0.82.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.82.ebuild,v 1.2 2010/02/03 16:08:05 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.82.ebuild,v 1.3 2011/04/05 17:40:01 scarabeus Exp $
EAPI=2
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="cddb minimal +cxx"
+IUSE="cddb +cxx minimal static-libs"
RDEPEND="cddb? ( >=media-libs/libcddb-1.0.1 )
virtual/libintl"
@@ -35,6 +35,7 @@ src_prepare() {
src_configure() {
econf \
$(use_enable cddb) \
+ $(use_enable static-libs static) \
$(use_with !minimal cd-drive) \
$(use_with !minimal cd-info) \
$(use_with !minimal cd-paranoia) \
@@ -50,6 +51,11 @@ src_configure() {
--disable-maintainer-mode
}
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+}
+
pkg_postinst() {
ewarn "If you've upgraded from a previous version of ${PN}, you may need to re-emerge"
ewarn "packages that linked against ${PN} (vlc, vcdimager and more) by running:"