summaryrefslogtreecommitdiff
blob: d3d17a8d512859dd908c9bceaea60456abad827e (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/mikmod/mikmod-3.1.6a.ebuild,v 1.10 2004/06/25 00:10:28 agriffis Exp $

IUSE=""

inherit eutils

MY_P=${PN}-${PV/a}
S=${WORKDIR}/${MY_P}
DESCRIPTION="MikMod is a console MOD-Player based on libmikmod"
HOMEPAGE="http://mikmod.raphnet.net/"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz
	mirror://gentoo/patch-${MY_P}-a"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND=">=media-libs/libmikmod-3.1.5"

src_unpack() {
	unpack ${MY_P}.tar.gz ; cd ${S}
	epatch ${DISTDIR}/patch-${MY_P}-a
	epatch ${FILESDIR}/${MY_P}-security.patch
}

src_compile() {
	econf || die

	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
}