| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/tremor/tremor-0_pre20120120.ebuild,v 1.12 2013/02/23 09:41:36 ago Exp $
|
| 4 |
|
| 5 |
# svn export http://svn.xiph.org/trunk/Tremor tremor-${PV}
|
| 6 |
|
| 7 |
EAPI=4
|
| 8 |
inherit autotools
|
| 9 |
|
| 10 |
DESCRIPTION="A fixed-point version of the Ogg Vorbis decoder (also known as libvorbisidec)"
|
| 11 |
HOMEPAGE="http://wiki.xiph.org/Tremor"
|
| 12 |
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
| 13 |
|
| 14 |
LICENSE="BSD"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-fbsd"
|
| 17 |
IUSE="static-libs"
|
| 18 |
|
| 19 |
RDEPEND="media-libs/libogg"
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
virtual/pkgconfig"
|
| 22 |
|
| 23 |
DOCS="CHANGELOG README"
|
| 24 |
|
| 25 |
src_prepare() {
|
| 26 |
sed -i -e '/CFLAGS/s:-O2::' configure.in || die
|
| 27 |
eautoreconf
|
| 28 |
}
|
| 29 |
|
| 30 |
src_configure() {
|
| 31 |
econf $(use_enable static-libs static)
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
default
|
| 36 |
dohtml -r doc/*
|
| 37 |
rm -f "${ED}"usr/lib*/lib*.la
|
| 38 |
}
|