/[gentoo-x86]/media-libs/liboggz/liboggz-1.1.1.ebuild
Gentoo

Contents of /media-libs/liboggz/liboggz-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Oct 6 15:43:46 2010 UTC (3 years, 9 months ago) by jer
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for HPPA (bug #338836).

(Portage version: 2.2_rc88/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/liboggz/liboggz-1.1.1.ebuild,v 1.4 2010/09/30 20:27:29 maekke Exp $
4
5 EAPI=2
6 inherit autotools eutils
7
8 DESCRIPTION="Oggz provides a simple programming interface for reading and writing Ogg files and streams"
9 HOMEPAGE="http://www.xiph.org/oggz/"
10 SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86"
15 IUSE="doc static-libs test"
16
17 RDEPEND=">=media-libs/libogg-1.2.0"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig
20 doc? ( app-doc/doxygen )
21 test? ( app-text/docbook-sgml-utils )"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-destdir.patch
25
26 if ! use doc; then
27 sed -i -e '/AC_CHECK_PROG/s:doxygen:dIsAbLe&:' configure.ac || die
28 fi
29
30 AT_M4DIR="m4" eautoreconf
31 }
32
33 src_configure() {
34 econf \
35 --disable-dependency-tracking \
36 $(use_enable static-libs static)
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die
41 dodoc AUTHORS ChangeLog README TODO
42
43 find "${D}" -name '*.la' -delete
44 }

  ViewVC Help
Powered by ViewVC 1.1.20