You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/aeolus/aeolus-0.8.1.ebuild

48 lines
1.4 KiB

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/aeolus/aeolus-0.8.1.ebuild,v 1.3 2009/01/25 14:56:31 maekke Exp $
inherit versionator toolchain-funcs multilib
MY_P=${PN}-$(replace_version_separator 3 '-')
DESCRIPTION="A synthesised pipe organ emulator"
HOMEPAGE="http://www.kokkinizita.net/linuxaudio/aeolus/index.html"
SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=media-libs/libclalsadrv-1.2.2
>=media-libs/libclthreads-2.2.1
>=media-libs/libclxclient-3.3.2
x11-libs/libXft
x11-libs/libX11
>=media-sound/jack-audio-connection-kit-0.109.2
media-libs/alsa-lib
sys-libs/readline"
RDEPEND="${DEPEND}
media-libs/stops"
S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
src_compile() {
tc-export CXX
sed -i -e "s/-O3//" Makefile || die "Failed to remove forced CFLAGS"
sed -i -e "s:/sbin/ldconfig:true:" Makefile || die "Failed to remove ldconfig call CFLAGS"
sed -i -e "s/g++/$(tc-getCXX)/" Makefile || die "Failed to set correct compiler"
emake PREFIX="/usr" LIBDIR=$(get_libdir) || die "make failed"
}
src_install() {
dodir /usr/bin
emake PREFIX="${D}/usr" install || die "make install failed"
dodoc README AUTHORS
echo "-S /usr/share/stops" > "${T}/aeolus.conf"
insinto /etc
doins "${T}/aeolus.conf"
}