# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils 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 test" DEPEND="media-video/ffmpeg" RDEPEND="" src_compile() { myconf="--prefix=/usr --disable-static --libdir=/usr/$(get_libdir)" if use debug; then myconf="${myconf} --disable-strip --enable-debug" fi # I can't use econf # --host is not implemented in ./configure file ./configure ${myconf} || die "./configure failed" emake lib || die "make failed." if use test; then emake test || die "make test failed." fi } src_install() { make DESTDIR="${D}" install || die "emake install failed." dodoc README ChangeLog }