blob: c08d4a3c3c2d4fa59931983f1925be0a479a789c (
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-sound/horgand/horgand-1.14.ebuild,v 1.5 2008/12/15 01:42:01 yngwin Exp $
EAPI="1"
inherit eutils toolchain-funcs
DESCRIPTION="Horgand is an opensource software organ."
HOMEPAGE="http://horgand.berlios.de"
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
RDEPEND="x11-libs/fltk:1.1
x11-libs/libXpm
media-libs/libsndfile
media-libs/alsa-lib
media-sound/alsa-utils
media-sound/jack-audio-connection-kit"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
econf
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags) \
$(pkg-config --cflags jack) $(pkg-config --cflags sndfile)" || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README
doman man/${PN}.1
newicon src/${PN}128.xpm ${PN}.xpm
make_desktop_entry ${PN} Horgand ${PN}
}
|