# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/libmustux-0.20.2.ebuild,v 1.7 2005/07/07 04:41:31 caleb Exp $ inherit kde-functions DESCRIPTION="Protux - Library" HOMEPAGE="http://www.nongnu.org/protux" SRC_URI="http://vt.shuis.tudelft.nl/~remon/protux/stable/version-${PV}/${P}.tar.gz" IUSE="static" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc amd64" RDEPEND="virtual/x11 =x11-libs/qt-3* media-libs/alsa-lib" DEPEND="${RDEPEND} >=sys-devel/automake-1.7" set-qtdir 3 src_unpack() { unpack ${A} cd ${S} export WANT_AUTOMAKE=1.7 export WANT_AUTOCONF=2.5 aclocal || die automake || die autoconf || die libtoolize --copy --force } src_compile() { export QT_MOC=${QTDIR}/bin/moc local myconf myconf="--with-gnu-ld" use static || myconf="${myconf} --enable-static=no" econf ${myconf} || die "configure failed" emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYRIGHT ChangeLog NEWS README TODO }