# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" 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" IUSE="" DEPEND="" RDEPEND="" src_prepare() { epatch "${FILESDIR}/${PF}_all_avformat_avcodec.patch" || die "patch failed" } src_configure() { # I can't use econf # --host is not implemented in ./configure file ./configure --prefix=/usr || die "./configure failed" } src_compile() { # not parallel safe, error "cannot find -ldlna" MAKEOPTS="-j1" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc AUTHORS README ChangeLog }