blob: c8fc3b7f6ddb9df5ba591183c12196df0c75d4bb (
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
51
52
53
54
55
56
57
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/uade/uade-1.03.ebuild,v 1.1 2005/08/09 18:28:12 spock Exp $
inherit eutils
DESCRIPTION="Unix Amiga Delitracker Emulator - plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API"
HOMEPAGE="http://uade.ton.tut.fi/"
SRC_URI="http://uade.ton.tut.fi/uade/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="xmms sdl alsa oss perl bmp"
RDEPEND="virtual/libc
xmms? ( >=media-sound/xmms-1.2.2
x11-libs/gtk+ )
sdl? ( media-libs/libsdl )
alsa? ( >=media-libs/alsa-lib-1.0.5 )
bmp? ( >=media-sound/beep-media-player-0.7_rc1 )"
DEPEND="${RDEPEND}
xmms? ( sys-devel/libtool )"
src_compile() {
./configure \
--prefix=/usr \
--package-prefix="${D}" \
--docdir="/usr/share/doc/${PF}" \
$(use_with oss) \
$(use_with sdl) \
$(use_with alsa) \
$(use_with xmms) \
$(use_with bmp) \
|| die "configure failed"
emake || die 'emake failed'
}
src_install() {
make install || die 'make install failed'
dodoc BUGS ChangeLog.txt FIXED ANTIPLANS README PLANS TESTING docs/CREDITS
find "${D}/usr/share/doc/${PF}/" \
\( -name '*.readme' -o \
-name '*.txt' -o \
-name 'INSTALL*' -o \
-name 'README*' -o \
-name 'Change*' \) -exec gzip -9 \{\} \;
dohtml -r "${D}/usr/share/doc/${PF}/"
rm -f "${D}/usr/share/doc/${PF}/"{COPYING,INSTALL.*.gz}
rm -f "${D}/usr/share/doc/${PF}/uade-docs/"{*.html,*.png,*.1}
if ! use perl; then
rm -f "${D}/usr/bin/pwrap.pl"
fi
}
|