summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-21 03:49:50 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-21 03:49:50 +0000
commit9833eb919d0a239e46e1c20f94bfdaf599763696 (patch)
tree2808e84422478a9c693eafc27c781dfbca36935d /media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild
parentAdded ~sparc keyword. (diff)
downloadhistorical-9833eb919d0a239e46e1c20f94bfdaf599763696.tar.gz
historical-9833eb919d0a239e46e1c20f94bfdaf599763696.tar.bz2
historical-9833eb919d0a239e46e1c20f94bfdaf599763696.zip
Version bump.
Diffstat (limited to 'media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild')
-rw-r--r--media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild b/media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild
new file mode 100644
index 000000000000..dcd239d0fdae
--- /dev/null
+++ b/media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/spiralmodular/spiralmodular-0.2.2a.ebuild,v 1.1 2004/03/21 03:49:50 eradicator Exp $
+
+inherit eutils
+
+IUSE="alsa jack"
+
+DESCRIPTION="SSM is a object oriented modular softsynth/ sequencer/ sampler."
+HOMEPAGE="http://www.pawfal.org/Software/SSM/"
+SRC_URI="mirror://sourceforge/spiralmodular/${P}.tar.bz2"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=x11-libs/fltk-1.1
+ media-libs/libsndfile
+ media-libs/liblrdf
+ alsa? ( media-libs/alsa-lib )
+ jack? ( virtual/jack )
+ media-libs/ladspa-sdk"
+
+S=${WORKDIR}/${PN}-0.2.2
+
+src_compile() {
+ for file in `find . -name Makefile.in`; do
+ sed -i s/CXXFLAGS=\\t@CXXFLAGS@/CXXFLAGS=\\t@CXXFLAGS@\ @FLTK_CXXFLAGS@/ $file
+ sed -i s/CFLAGS\\t=\\t@CFLAGS@/CFLAGS\\t=\\t@CFLAGS@\ @FLTK_CFLAGS@/ $file
+ done
+
+ # NOTE: We can't do use_enable for this package as it believe --enable-a and --disable-a both mean disable
+ local myconf;
+ if ! use jack; then
+ myconf="${myconf} --disable-jack"
+ fi
+
+ if ! use alsa; then
+ myconf="${myconf} --disable-alsa-midi"
+ fi
+
+ econf ${myconf} || die "configure failed"
+ emake || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/lib /usr/share/man /usr/share/info
+ dodoc Examples/*
+ make bindir=${D}/usr/bin libdir=${D}/usr/lib mandir=${D}/usr/share/man infodir=${D}/usr/share/info datadir=${D}/usr/share install || die
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Remember to remove any old ~/.sprialmodular files"
+ einfo ""
+}