blob: 64d69ace9a9f89729be550707affce2db03b180c (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uade/uade-0.73.ebuild,v 1.1 2003/08/27 08:14:43 msterret Exp $
DESCRIPTION='Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE
emulation and cloned m68k-assembler Eagleplayer API'
HOMEPAGE='http://ee.tut.fi/~heikki/uade.html'
SRC_URI="http://ee.tut.fi/~heikki/uade/${P}.tar.bz2"
LICENSE='GPL-2'
KEYWORDS='x86'
SLOT='0'
IUSE='xmms sdl'
RDEPEND="dev-lang/perl
xmms? ( >=media-sound/xmms-1.2.2 x11-libs/gtk+ )
sdl? ( media-libs/libsdl )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
sed -i \
-e 's:\$prefix/doc:/usr/share/doc:' configure || \
die 'sed configure failed'
}
src_compile() {
local myconf="--package-prefix=${D}"
use sdl && myconf="$myconf --with-sdl"
use xmms || myconf="$myconf --no-plugin"
econf ${myconf} || die
# warning...broken Makefiles ahead.
emake -j1 || die 'emake failed'
}
src_install() {
make DESTDIR=${D} install || die 'make install failed'
dodoc BUGS ChangeLog.txt FIXED
rm -f ${D}/usr/share/doc/${P}/COPYING
find ${D}/usr/share/doc/${P}/ \
\( -name '*.readme' -o \
-name '*.txt' -o \
-name 'INSTALL*' -o \
-name 'README*' -o \
-name 'Change*' \) -exec gzip -9 \{\} \;
}
|