# Template file for 'chuck'
pkgname=chuck
version=1.3.5.2
revision=2
build_wrksrc=src
hostmakedepends="bison flex"
makedepends="jack-devel libsndfile-devel liblo-devel"
short_desc="Concurrent, on-the-fly audio programming language"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://chuck.cs.princeton.edu"
distfiles="http://chuck.cs.princeton.edu/release/files/$pkgname-$version.tgz"
checksum=e900b8545ffcb69c6d49354b18c43a9f9b8f789d3ae822f34b408eaee8d3e70b

patch_args="-Np1"

do_build() {
	make CXX="$CXX" CC="$CC" LD="$CXX" linux-jack
}

do_install() {
	vbin chuck
}
