summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-11 14:06:17 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-11 14:06:17 +0000
commit84425e5c7e2bd115fa156e0d886a5e589ca5cb7e (patch)
tree3c55ae7ea39391216458aff5f815367a94476de1 /media-libs/libcue
parentversion bump (diff)
downloadgentoo-2-84425e5c7e2bd115fa156e0d886a5e589ca5cb7e.tar.gz
gentoo-2-84425e5c7e2bd115fa156e0d886a5e589ca5cb7e.tar.bz2
gentoo-2-84425e5c7e2bd115fa156e0d886a5e589ca5cb7e.zip
Make static libs optional. Punt .la file.
(Portage version: 2.2.0_alpha32/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libcue')
-rw-r--r--media-libs/libcue/ChangeLog5
-rw-r--r--media-libs/libcue/libcue-1.4.0.ebuild18
2 files changed, 17 insertions, 6 deletions
diff --git a/media-libs/libcue/ChangeLog b/media-libs/libcue/ChangeLog
index 484a34d5ea2a..833023c1995c 100644
--- a/media-libs/libcue/ChangeLog
+++ b/media-libs/libcue/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libcue
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcue/ChangeLog,v 1.14 2011/04/19 19:01:50 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcue/ChangeLog,v 1.15 2011/05/11 14:06:17 scarabeus Exp $
+
+ 11 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> libcue-1.4.0.ebuild:
+ Make static libs optional. Punt .la file.
*libcue-1.4.0 (19 Apr 2011)
diff --git a/media-libs/libcue/libcue-1.4.0.ebuild b/media-libs/libcue/libcue-1.4.0.ebuild
index a6860541a3da..8c03845db46d 100644
--- a/media-libs/libcue/libcue-1.4.0.ebuild
+++ b/media-libs/libcue/libcue-1.4.0.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcue/libcue-1.4.0.ebuild,v 1.1 2011/04/19 19:01:50 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcue/libcue-1.4.0.ebuild,v 1.2 2011/05/11 14:06:17 scarabeus Exp $
+
+EAPI=4
-EAPI=2
DESCRIPTION="CUE Sheet Parser Library"
HOMEPAGE="http://libcue.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
@@ -10,13 +11,20 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE=""
+IUSE="static-libs"
RDEPEND=""
DEPEND="sys-devel/flex
|| ( dev-util/yacc sys-devel/bison )"
+DOCS=( AUTHORS ChangeLog NEWS )
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS
+ default
+ find "${ED}" -name '*.la' -delete
}