diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-26 17:13:11 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-26 17:13:11 +0000 |
commit | 41f30d69657a47a5c30555e9ff656dc7d962a5f7 (patch) | |
tree | 826758739595665c9820bfdb07bab28de1c66316 /media-libs/libmikmod/libmikmod-3.1.11.ebuild | |
parent | Removed explicit S=. Added explicit IUSE=. Added init script provided by Vacl... (diff) | |
download | gentoo-2-41f30d69657a47a5c30555e9ff656dc7d962a5f7.tar.gz gentoo-2-41f30d69657a47a5c30555e9ff656dc7d962a5f7.tar.bz2 gentoo-2-41f30d69657a47a5c30555e9ff656dc7d962a5f7.zip |
Version bump closes bug #45720. Removed explicit S=. Added metadata.xml.
Diffstat (limited to 'media-libs/libmikmod/libmikmod-3.1.11.ebuild')
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.1.11.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/libmikmod/libmikmod-3.1.11.ebuild b/media-libs/libmikmod/libmikmod-3.1.11.ebuild new file mode 100644 index 000000000000..d978ec9edb80 --- /dev/null +++ b/media-libs/libmikmod/libmikmod-3.1.11.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.11.ebuild,v 1.1 2004/03/26 17:13:11 eradicator Exp $ + +inherit gnuconfig +inherit flag-o-matic + +IUSE="oss esd alsa" + +DESCRIPTION="A library to play a wide range of module formats" +HOMEPAGE="http://mikmod.raphnet.net/" +SRC_URI="${HOMEPAGE}/files/${P}.tar.gz" + +DEPEND=">=media-libs/audiofile-0.2.3 + alsa? ( >=media-libs/alsa-lib-0.5.9 ) + esd? ( >=media-sound/esound-0.2.19 )" + +SLOT="0" +LICENSE="LGPL-2.1 | LGPL-2" +KEYWORDS="~x86 ~amd64 ~hppa ~sparc ~mips ~alpha ia64" + +src_compile() { + filter-flags -Os + + local myconf + myconf="--enable-af" # include AudioFile driver + + [ -z `use esd` ] || myconf="${myconf} --enable-esd" + [ -z `use alsa` ] || myconf="${myconf} --enable-alsa" + [ -z `use oss` ] || myconf="${myconf} --enable-oss" + + # alpha, amd64 and ia64 (at least) need gnuconfig_update + gnuconfig_update + + econf ${myconf} || die + emake || die +} + +src_install() { + + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING* NEWS README TODO + dohtml docs/*.html +} |