# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/apollo/apollo-1.1.1-r1.ebuild,v 1.14 2003/02/13 13:07:13 vapier Exp $ use kde && inherit kde-base S=${WORKDIR}/${P}-1 DESCRIPTION="A Qt-based front-end to mpg123" SRC_URI="mirror://sourceforge/apolloplayer/apollo-src-1.1.1-1.tar.bz2" HOMEPAGE="http://www.apolloplayer.org" SLOT="2" LICENSE="GPL-2" KEYWORDS="x86" 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 sed -e 's:$PREFIX/local:$PREFIX:g' -e 's:BINDIR=$dir::' \ install.sh.orig > install.sh } src_compile() { make || die "died making" } src_install () { use kde && myconf="${myconf} --with-kde=${D}/${KDEDIR}" dodir /usr/bin echo `pwd` sh install.sh --prefix=${D}/usr ${myconf} }