blob: 406b025a11858230eb8742f8d66aa001710e3dc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/slv2/slv2-0.5.0.ebuild,v 1.1 2008/01/21 22:03:29 aballier Exp $
DESCRIPTION="A library to make the use of LV2 plugins as simple as possible for applications"
HOMEPAGE="http://wiki.drobilla.net/SLV2"
SRC_URI="http://download.drobilla.net/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc jack"
RDEPEND="dev-libs/redland
media-libs/raptor
jack? ( media-sound/jack-audio-connection-kit )
media-libs/lv2core"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
dev-util/pkgconfig"
src_compile() {
econf $(use_enable debug) \
$(use_enable jack) \
$(use_enable doc documentation)
emake || die "make failed"
if use doc; then
emake docs || die "creating documentation failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README ChangeLog
doman doc/man/man3/*
use doc && dohtml doc/html/*
}
|