diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-12-23 22:03:54 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-12-23 22:03:54 +0000 |
commit | a2c731b022ea42cd1bf7af6811c69b4ddf2760bb (patch) | |
tree | 47728abab054c3e43061994aa443a1acdc47bd23 /media-libs/libdlna/libdlna-0.2.3.ebuild | |
parent | Initial commit. (diff) | |
download | gentoo-2-a2c731b022ea42cd1bf7af6811c69b4ddf2760bb.tar.gz gentoo-2-a2c731b022ea42cd1bf7af6811c69b4ddf2760bb.tar.bz2 gentoo-2-a2c731b022ea42cd1bf7af6811c69b4ddf2760bb.zip |
Initial import. Many thanks to all the contributors on bug 204007. Moved from sunrise overlay
(Portage version: 2.1.7.15/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libdlna/libdlna-0.2.3.ebuild')
-rw-r--r-- | media-libs/libdlna/libdlna-0.2.3.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-libs/libdlna/libdlna-0.2.3.ebuild b/media-libs/libdlna/libdlna-0.2.3.ebuild new file mode 100644 index 000000000000..51188b78698c --- /dev/null +++ b/media-libs/libdlna/libdlna-0.2.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libdlna/libdlna-0.2.3.ebuild,v 1.1 2009/12/23 22:03:53 darkside Exp $ + +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="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-video/ffmpeg-0.5" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-libavcodec-libavformat-include-paths.patch" +} + +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" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc README AUTHORS ChangeLog || die +} |