blob: c3c48c79ff8a5c0912ba731cbb20dc1665546c8a (
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-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/apollo-1.1.1.ebuild,v 1.3 2001/10/05 11:46:29 danarmak Exp $
S=${WORKDIR}/${P}-1
DESCRIPTION="A Qt-based front-end to mpg123"
SRC_URI="http://prdownloads.sourceforge.net/apolloplayer/apollo-src-1.1.1-1.tar.bz2"
HOMEPAGE="http://www.apolloplayer.org"
DEPEND=">=x11-libs/qt-x11-2.3.0"
RDEPEND=">=media-sound/mpg123-0.59r"
src_unpack() {
cd ${WORKDIR}
unpack apollo-src-1.1.1-1.tar.bz2
cd ${S}
mv install.sh install.sh.orig
cat install.sh.orig | sed -e 's:$PREFIX/local:$PREFIX:g' > install.sh
}
src_compile() {
make || die
}
src_install () {
local myconf
if [ "`use kde`" ]
then
# FIXME: won't work when multiple versions of KDE is installed
# IFIXEDYOU: danarmak: kde dir must *always* be determined via
# $KDEDIR. If $KDEDIR doesn't do the job, fix it, don't work
# around it.
myconf="--with-kde=${KDEDIR}"
dodir ${KDEDIR}/share/applnk/Multimedia
fi
dodir usr/bin
echo `pwd`
sh install.sh --prefix=${D}/usr $myconf
}
|