summaryrefslogtreecommitdiff
blob: ebf30c6d687ffd7e50b178bf4fe7950643b8e7bb (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/liblo/liblo-0.23.ebuild,v 1.7 2007/02/28 22:15:15 genstef Exp $

IUSE="doc"

DESCRIPTION="Lightweight OSC (Open Sound Control) implementation"
HOMEPAGE="http://plugin.org.uk/liblo/"
SRC_URI="http://www.ecs.soton.ac.uk/~njh/liblo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"

DEPEND="dev-util/pkgconfig
		doc? ( app-doc/doxygen )"

src_compile() {
	use doc || export ac_cv_prog_HAVE_DOXYGEN="false"

	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die "make install failed"
	dodoc AUTHORS ChangeLog NEWS README TODO
}

# tests fail when executed by ebuild/emerge,
# but succeed when executed manually, even from
# sandboxshell.
# if anybody knows why, please let me know..
src_test() {
	make test || die "make test failed"
}