blob: 40e99a55a02740a527c377a8eb2d2155ae144df6 (
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
39
40
41
42
43
44
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsmf/libsmf-1.3.ebuild,v 1.3 2011/11/28 03:09:50 radhermit Exp $
EAPI=4
inherit autotools-utils
DESCRIPTION="Standard MIDI File format library"
HOMEPAGE="http://libsmf.sourceforge.net/api/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc readline static-libs"
RDEPEND=">=dev-libs/glib-2.2:2
readline? ( sys-libs/readline )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
dev-util/pkgconfig"
DOCS=( NEWS TODO )
src_configure() {
local myeconfargs=(
$(use_with readline)
)
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile
if use doc ; then
doxygen doxygen.cfg || die
fi
}
src_install() {
autotools-utils_src_install
use doc && dohtml -r api
}
|