diff options
Diffstat (limited to 'media-libs/libmodplug/libmodplug-0.7.ebuild')
-rw-r--r-- | media-libs/libmodplug/libmodplug-0.7.ebuild | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/media-libs/libmodplug/libmodplug-0.7.ebuild b/media-libs/libmodplug/libmodplug-0.7.ebuild index 9b5db009ac02..8bfeac2eb31d 100644 --- a/media-libs/libmodplug/libmodplug-0.7.ebuild +++ b/media-libs/libmodplug/libmodplug-0.7.ebuild @@ -1,34 +1,29 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.7.ebuild,v 1.1 2004/11/10 18:56:54 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmodplug/libmodplug-0.7.ebuild,v 1.1.1.1 2005/11/30 10:03:55 chriswhite Exp $ inherit eutils -IUSE="" - DESCRIPTION="Library for playing MOD-like music files" SRC_URI="mirror://sourceforge/modplug-xmms/${P}.tar.gz" HOMEPAGE="http://modplug-xmms.sourceforge.net/" -SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64" +SLOT="0" +#-sparc: 1.0 - Bus Error on play +KEYWORDS="amd64 -sparc ~ppc x86" +IUSE="" -DEPEND="" +RDEPEND="" +DEPEND="dev-util/pkgconfig" src_unpack() { unpack ${A} - - cd ${S}/src/libmodplug - epatch ${FILESDIR}/${P}-amd64.patch -} - -src_compile() { - econf || die "could not configure" - emake LDFLAGS="$LDFLAGS -L${D}/usr/lib/" || die "emake failed" + cd "${S}"/src/libmodplug + epatch "${FILESDIR}"/${P}-amd64.patch } -src_install () { - einstall - dodoc AUTHORS COPYING ChangeLog INSTALL README TODO +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog README TODO } |