diff options
Diffstat (limited to 'media-video/dirac/dirac-0.5.4.ebuild')
-rw-r--r-- | media-video/dirac/dirac-0.5.4.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-video/dirac/dirac-0.5.4.ebuild b/media-video/dirac/dirac-0.5.4.ebuild new file mode 100644 index 000000000000..81234e4fdd72 --- /dev/null +++ b/media-video/dirac/dirac-0.5.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/dirac/dirac-0.5.4.ebuild,v 1.1 2007/02/14 01:55:52 hanno Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit eutils autotools + +DESCRIPTION="Open Source video codec" +HOMEPAGE="http://dirac.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="mmx debug doc" + +DEPEND="doc? ( app-doc/doxygen + virtual/tetex )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.5.2-doc.patch" + + eautoreconf +} + +src_compile() { + econf \ + $(use_enable mmx) \ + $(use_enable debug) \ + $(use_enable doc) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" \ + htmldir="/usr/share/doc/${PF}/html" \ + latexdir="/usr/share/doc/${PF}/programmers" \ + algodir="/usr/share/doc/${PF}/algorithm" \ + faqdir="/usr/share/doc/${PF}" \ + install + + dodoc README AUTHORS NEWS TODO ChangeLog +} |