blob: 4cc5a6c6e8288501e87a3030431b69e45a3607ab (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: current version of ebuild http://atrey.karlin.mff.cuni.cz/~sanda/mac/$
inherit eutils
MY_P=${PV}-u4-b5-s4
MY_F=mac-${MY_P}
DESCRIPTION="Monkey Audio Codec (MAC linux port)"
HOMEPAGE="http://sourceforge.net/projects/mac-port/"
SRC_URI="http://dside.dyndns.org/files/darklin/$MY_F.tar.gz"
LICENSE="MAC"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${MY_F}.tar.gz || die "unpacking failed"
cd ${WORKDIR}
epatch "${FILESDIR}"/mac-3.99-u4-b5-s4-ds-fix.patch || die
mv ${MY_F} ${P}
}
src_compile() {
econf || die "econf failed"
emake || die "make failed"
}
src_install() {
einstall || die "install failed"
dodoc AUTHORS README AUTHORS src/License.htm NEWS ChangeLog
}
|