| 1 |
ssuominen |
1.6 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
ssuominen |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
jdhore |
1.7 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/liblrdf/liblrdf-0.5.0.ebuild,v 1.6 2012/01/28 04:16:14 ssuominen Exp $
|
| 4 |
ssuominen |
1.1 |
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
inherit autotools
|
| 7 |
|
|
|
| 8 |
|
|
DESCRIPTION="A library for the manipulation of RDF file in LADSPA plugins"
|
| 9 |
|
|
HOMEPAGE="http://github.com/swh/LRDF"
|
| 10 |
|
|
SRC_URI="http://github.com/swh/LRDF/tarball/${PV} -> ${P}.tar.gz"
|
| 11 |
|
|
|
| 12 |
|
|
LICENSE="GPL-2"
|
| 13 |
|
|
SLOT="0"
|
| 14 |
ssuominen |
1.6 |
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
| 15 |
ssuominen |
1.1 |
IUSE="static-libs"
|
| 16 |
|
|
|
| 17 |
|
|
RDEPEND=">=dev-libs/openssl-1
|
| 18 |
|
|
media-libs/raptor:2
|
| 19 |
|
|
>=media-libs/ladspa-sdk-1.12"
|
| 20 |
|
|
DEPEND="${RDEPEND}
|
| 21 |
jdhore |
1.7 |
virtual/pkgconfig"
|
| 22 |
ssuominen |
1.1 |
|
| 23 |
|
|
DOCS=( AUTHORS ChangeLog README )
|
| 24 |
|
|
|
| 25 |
|
|
src_unpack() {
|
| 26 |
|
|
unpack ${A}
|
| 27 |
|
|
mv *-LRDF-* "${S}"
|
| 28 |
|
|
}
|
| 29 |
|
|
|
| 30 |
|
|
src_prepare() {
|
| 31 |
ssuominen |
1.3 |
sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c || die #392221
|
| 32 |
ssuominen |
1.1 |
eautoreconf
|
| 33 |
|
|
}
|
| 34 |
|
|
|
| 35 |
|
|
src_configure() {
|
| 36 |
|
|
econf $(use_enable static-libs static)
|
| 37 |
|
|
}
|
| 38 |
|
|
|
| 39 |
ssuominen |
1.3 |
src_test() {
|
| 40 |
|
|
has_version media-plugins/swh-plugins && default #392221
|
| 41 |
|
|
}
|
| 42 |
|
|
|
| 43 |
ssuominen |
1.1 |
src_install() {
|
| 44 |
|
|
default
|
| 45 |
|
|
rm -f "${ED}"usr/lib*/liblrdf.la
|
| 46 |
|
|
}
|