/[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.4 - (hide annotations) (download)
Thu Sep 30 20:27:29 2010 UTC (4 years ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable, bug #338836

(Portage version: 2.2_rc86/cvs/Linux x86_64)

1 ssuominen 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 maekke 1.4 # $Header: /var/cvsroot/gentoo-x86/media-libs/liboggz/liboggz-1.1.1.ebuild,v 1.3 2010/09/28 11:28:23 hwoarang Exp $
4 ssuominen 1.1
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 maekke 1.4 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
15 ssuominen 1.1 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