summaryrefslogtreecommitdiff
blob: a1c8fc4d8e803066ac8f335958c644df54950978 (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
44
45
46
47
48
49
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/jmax/jmax-4.0.2.ebuild,v 1.1 2004/01/19 08:47:46 torbenh Exp $

S="${WORKDIR}/${P}"
DESCRIPTION="jMax is a visual programming environment for building interactive real-time music and multimedia applications."
HOMEPAGE="http://freesoftware.ircam.fr/rubrique.php3?id_rubrique=2"
SRC_URI="ftp://ftp.ircam.fr/pub/ircam/${PN}/releases/${PV}/${P}.tar.gz
	http://umn.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
	http://switch.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz
	http://keihanna.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"

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

DEPEND=">=virtual/jre-1.4
	media-libs/alsa-lib"

src_unpack() {
	unpack ${A}
	cd ${WORKDIR}/${P}
	epatch ${FILESDIR}/${P}-work_with_recent_alsa-lib.patch
}



src_compile() {
	cd ${S}
	econf || die "configure failed"
	make || die "compile failed"
}



src_install () {
	einstall || die "install failed"

	dodoc AUTHORS ChangeLog JMAX-VERSION LICENCE.fr LICENSE LISEZMOI README
}



pkg_postinst() {
	echo
	einfo "To get started, have a look at the tutorials"
	einfo "in /usr/share/jmax/tutorials/basics"
	echo
}