blob: 6d352ef80a8daa1bb95e2451be9f9e5a8c053823 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/modplugplay/modplugplay-1.0.ebuild,v 1.7 2009/05/03 19:49:00 aballier Exp $
inherit toolchain-funcs
DESCRIPTION="A commandline player for mod music"
HOMEPAGE="http://gnu.ethz.ch/linuks.mine.nu/modplugplay/"
SRC_URI="http://gnu.ethz.ch/linuks.mine.nu/modplugplay/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
#-sparc: 1.0 - Bus Error on play
KEYWORDS="amd64 ~hppa ~ppc -sparc x86"
IUSE=""
RDEPEND=">=media-libs/libmodplug-0.7"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
RESTRICT="test"
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o modplugplay modplugplay.c $(pkg-config libmodplug --cflags --libs)
}
src_install() {
dobin modplugplay
dodoc changelog readme
dohtml modplugplay.html
doman modplugplay.1
}
|