# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils flag-o-matic DESCRIPTION="A reference open-source implementation of DLNA (Digital Living Network Alliance) standards." HOMEPAGE="http://libdlna.geexbox.org" SRC_URI="http://libdlna.geexbox.org/releases/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug" DEPEND="media-video/ffmpeg" RDEPEND="" src_compile() { # By default, configure sets -O3, so filter out any other -O* setting filter-flags -O? if use debug then local myconf="--disable-strip" else local myconf="" fi # I can't use econf # --host is not implemented in ./configure file ./configure \ --prefix=/usr --disable-static ${myconf}\ || die "./configure failed" emake lib || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc README FAQ CHANGELOG }