| 1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: $ |
| 4 |
|
| 5 |
inherit flag-o-matic |
| 6 |
|
| 7 |
DESCRIPTION="Libdexter is a plugin-based, distributed sampling library" |
| 8 |
HOMEPAGE="http://www.libdexter.org" |
| 9 |
SRC_URI="mirror://sourceforge/libdexter/${P}.tar.bz2" |
| 10 |
|
| 11 |
LICENSE="LGPL-2.1" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~x86" |
| 14 |
IUSE="doc" |
| 15 |
|
| 16 |
RDEPEND="" |
| 17 |
DEPEND="${RDEPEND} |
| 18 |
>=dev-util/pkgconfig-0.15 |
| 19 |
>=dev-libs/glib-2.10 |
| 20 |
doc? ( |
| 21 |
>=dev-util/gtk-doc-1.6 |
| 22 |
~app-text/docbook-xml-dtd-4.1.2 |
| 23 |
)" |
| 24 |
|
| 25 |
src_compile() { |
| 26 |
econf \ |
| 27 |
$(use_enable doc gtk-doc) \ |
| 28 |
|| die "econf failed" |
| 29 |
|
| 30 |
emake || die "emake failed" |
| 31 |
} |
| 32 |
|
| 33 |
src_install() { |
| 34 |
emake DESTDIR="${D}" install || die |
| 35 |
dodoc README NEWS AUTHORS TODO |
| 36 |
} |