blob: b585284ec6a1638745def843d47404757dab3eb5 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/zynaddsubfx/zynaddsubfx-1.4.3.ebuild,v 1.3 2004/03/31 17:05:30 eradicator Exp $
inherit eutils
MY_P=ZynAddSubFX-${PV}
DESCRIPTION="ZynAddSubFX is a opensource software synthesizer."
HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
SRC_URI="mirror://sourceforge/zynaddsubfx/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=">=x11-libs/fltk-1.1.2
=dev-libs/fftw-2*
virtual/jack"
S="${WORKDIR}/${MY_P}"
src_compile() {
# patched to enable jack and fix compile scripts for
# spliter and controller
epatch ${FILESDIR}/${P}.patch
cd ${S}/src
make || die "compile failed"
cd ${S}/ExternalPrograms/Spliter
./compile.sh
cd ${S}/ExternalPrograms/Controller
./compile.sh
}
src_install() {
dobin ${S}/src/zynaddsubfx
dobin ${S}/ExternalPrograms/Spliter/spliter
dobin ${S}/ExternalPrograms/Controller/controller
dodoc COPYING FAQ.txt README.txt HISTORY.txt
dodir /usr/share/${PN}
cp -r ${S}/examples/* ${D}/usr/share/${PN}
}
|