summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-23 12:56:10 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-23 12:56:10 +0000
commitd31adb896edc347f6d7a5b86130c8ac6619b675c (patch)
treeffa32814715afd4b25fd40322b84e2140d345059 /media-libs/liboggz/liboggz-1.1.1.ebuild
parentStable on alpha, bug #320467 (diff)
downloadgentoo-2-d31adb896edc347f6d7a5b86130c8ac6619b675c.tar.gz
gentoo-2-d31adb896edc347f6d7a5b86130c8ac6619b675c.tar.bz2
gentoo-2-d31adb896edc347f6d7a5b86130c8ac6619b675c.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/liboggz/liboggz-1.1.1.ebuild')
-rw-r--r--media-libs/liboggz/liboggz-1.1.1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/liboggz/liboggz-1.1.1.ebuild b/media-libs/liboggz/liboggz-1.1.1.ebuild
new file mode 100644
index 000000000000..db48e064d40a
--- /dev/null
+++ b/media-libs/liboggz/liboggz-1.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/liboggz/liboggz-1.1.1.ebuild,v 1.1 2010/07/23 12:56:10 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="Oggz provides a simple programming interface for reading and writing Ogg files and streams"
+HOMEPAGE="http://www.xiph.org/oggz/"
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc static-libs test"
+
+RDEPEND=">=media-libs/libogg-1.2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( app-text/docbook-sgml-utils )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-destdir.patch
+
+ if ! use doc; then
+ sed -i -e '/AC_CHECK_PROG/s:doxygen:dIsAbLe&:' configure.ac || die
+ fi
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die
+ dodoc AUTHORS ChangeLog README TODO
+
+ find "${D}" -name '*.la' -delete
+}