diff options
Diffstat (limited to 'media-libs/libsidplay/libsidplay-1.36.59.ebuild')
-rw-r--r-- | media-libs/libsidplay/libsidplay-1.36.59.ebuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/media-libs/libsidplay/libsidplay-1.36.59.ebuild b/media-libs/libsidplay/libsidplay-1.36.59.ebuild index 22bc2cb5fc2e..25120b12bda8 100644 --- a/media-libs/libsidplay/libsidplay-1.36.59.ebuild +++ b/media-libs/libsidplay/libsidplay-1.36.59.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 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/libsidplay/libsidplay-1.36.59.ebuild,v 1.11 2009/09/23 15:17:35 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.59.ebuild,v 1.12 2012/05/16 02:25:49 ssuominen Exp $ -inherit libtool eutils +EAPI=4 +inherit eutils libtool DESCRIPTION="C64 SID player library" HOMEPAGE="http://critical.ch/distfiles/" @@ -11,17 +12,20 @@ SRC_URI="http://critical.ch/distfiles/${P}.tgz" LICENSE="GPL-2" SLOT="1" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="" +IUSE="static-libs" -src_unpack() { - unpack ${A} - cd "${S}" +DOCS="AUTHORS DEVELOPER" + +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch - # Needed to get a sane .so versionning on fbsd, please don't drop - elibtoolize + elibtoolize # required for fbsd .so versioning +} + +src_configure() { + econf $(use_enable static-libs static) } src_install() { - emake DESTDIR="${D}" install || die - dodoc AUTHORS DEVELOPER || die + default + rm -f "${ED}"/usr/lib*/${PN}.la } |