summaryrefslogtreecommitdiff
blob: 3faff2791b34e76d2523ff8049a1b0411f80106b (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/sfc/sfc-0.012.ebuild,v 1.2 2003/09/11 01:21:32 msterret Exp $


DESCRIPTION="SoundFontCombi is a opensource software pseudo synthesizer."
HOMEPAGE="http://personal.telefonica.terra.es/web/soudfontcombi/"
SRC_URI="http://personal.telefonica.terra.es/web/soudfontcombi/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE=""

DEPEND=">=x11-libs/fltk-1.1.2
	virtual/alsa"

S="${WORKDIR}/${P}"

src_compile() {
	emake || die "compile failed"
}

src_install() {
	cp Makefile Makefile~
	sed -e "/^PREFIX/s:.*:PREFIX = /usr:
		/^DOC_DIR/s:.*:DOC_DIR = /usr/share/doc/${P}:" Makefile~ > Makefile

	dodir /usr/bin

	einstall DESTDIR=${D}

	prepalldocs
}