diff options
Diffstat (limited to 'media-libs/liboggz/liboggz-0.9.9.ebuild')
-rw-r--r-- | media-libs/liboggz/liboggz-0.9.9.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/liboggz/liboggz-0.9.9.ebuild b/media-libs/liboggz/liboggz-0.9.9.ebuild new file mode 100644 index 000000000000..607bc8067405 --- /dev/null +++ b/media-libs/liboggz/liboggz-0.9.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/liboggz/liboggz-0.9.9.ebuild,v 1.1 2009/05/15 08:20:01 aballier Exp $ + +EAPI=2 + +inherit eutils libtool + +DESCRIPTION="Oggz provides a simple programming interface for reading and writing Ogg files and streams" +HOMEPAGE="http://www.annodex.net/software/liboggz" +SRC_URI="http://www.annodex.net/software/liboggz/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +RDEPEND="media-libs/libogg" +DEPEND="${RDEPEND} + dev-util/pkgconfig + >=dev-util/intltool-0.29 + doc? ( app-doc/doxygen ) + test? ( app-text/docbook-sgml-utils )" + +src_prepare() { + epatch "${FILESDIR}/${P}-destdir.patch" + elibtoolize #dont drop it! +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog README + doman doc/*.1 + use doc || rm -rf "${D}"/usr/share/doc/${PN} +} |