summaryrefslogtreecommitdiff
blob: b82fbdf3637af2f2597345e7dba92a7877c4e04a (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/dumb/dumb-0.9.1.ebuild,v 1.5 2004/07/14 19:19:33 agriffis Exp $

DESCRIPTION="IT, XM, S3M and MOD player library"
SRC_URI="mirror://sourceforge/dumb/${P}.tar.gz"
HOMEPAGE="http://dumb.sourceforge.net/"

LICENSE="DUMB"
SLOT="0"
KEYWORDS="x86 ~alpha ~ia64"
IUSE=""

RDEPEND="media-libs/allegro"

S=${WORKDIR}/${PN}

src_compile() {
	make -f make/makefile.uni OFLAGS="${CFLAGS}" all || die
}

src_install() {
	dodir /usr/lib /usr/include
	make -f make/makefile.uni install PREFIX=${D}/usr || die

	dodoc readme.txt release.txt docs/*
	insinto /usr/share/${PN}
	doins examples/*.{c,ini}
}