# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/horgand-1.11.ebuild,v 1.1 2007/09/02 16:49:33 drac Exp $ inherit eutils toolchain-funcs DESCRIPTION="Horgand is an opensource software organ." HOMEPAGE="http://horgand.berlios.de" SRC_URI="http://download.berlios.de/${PN}/${P}.tar.gz http://download2.berlios.de/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" RDEPEND=">=x11-libs/fltk-1.1.2 media-libs/libsndfile media-libs/alsa-lib 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}.xpm }