blob: e64985c4f31e149db489ffbae37f7083ad4c9e45 (
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
|
# 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-r1.ebuild,v 1.4 2002/05/21 18:14:10 danarmak Exp $
use kde && inherit kde-base
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"
use kde && need-kde 2.2 && need-qt 2.3
RDEPEND="$RDEPEND >=media-sound/mpg123-0.59r"
use kde || DEPEND="$DEPEND =x11-libs/qt-2.3*"
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' -e 's:BINDIR=$dir::' > install.sh
}
src_compile() {
make || die "died making"
}
src_install () {
if [ "`use kde`" ]
then
myconf="$myconf --with-kde=${D}/${KDEDIR}"
fi
dodir usr/bin
echo `pwd`
sh install.sh --prefix=${D}/usr $myconf
}
|