blob: 0321652bbd22d3c9a430927ed3326ea1e159e744 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/xmp/xmp-3.1.0.ebuild,v 1.1 2010/01/24 15:25:00 ssuominen Exp $
EAPI=2
DESCRIPTION="Extended Module Player"
HOMEPAGE="http://xmp.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa audacious nas oss pulseaudio"
DEPEND="alsa? ( media-libs/alsa-lib )
nas? ( media-libs/nas )
audacious? ( media-sound/audacious )
pulseaudio? ( media-sound/pulseaudio )"
src_configure() {
econf \
$(use_enable alsa) \
$(use_enable nas) \
$(use_enable oss) \
$(use_enable pulseaudio) \
$(use_enable audacious audacious-plugin)
}
src_install() {
emake DESTDIR="${D}" install || die
rm -f docs/{COPYING,Makefile,*.1}
dodoc README
insinto /usr/share/doc/${PF}/docs
doins -r docs/*
prepalldocs
}
|