34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# Template file for 'chuck'
|
|
pkgname=chuck
|
|
version=1.4.1.1
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_wrksrc=src
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_build_target="linux-jack"
|
|
hostmakedepends="bison flex"
|
|
makedepends="jack-devel libsndfile-devel liblo-devel"
|
|
short_desc="Concurrent, on-the-fly audio programming language"
|
|
maintainer="Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://chuck.cs.princeton.edu"
|
|
changelog="https://chuck.cs.princeton.edu/release/VERSIONS"
|
|
distfiles="http://chuck.cs.princeton.edu/release/files/$pkgname-$version.tgz"
|
|
checksum=4459ee6f151da72dcde1525e0afe05329d61086356b168ecfc0bc3a570290f63
|
|
|
|
|
|
post_extract() {
|
|
mv chuck-${version}/* .
|
|
# use CC, CXX and LD from environment
|
|
vsed -e '/^CC=/d' -e '/^CXX=/d' -e '/^LD=/d' -i src/makefile -i src/core/makefile
|
|
# fix parallel builds for make in sub directories
|
|
vsed -e 's/^\tmake /\t+$(MAKE) /' -i src/makefile
|
|
# use CC instead of LD when linking
|
|
vsed -e 's/$(LD)/$(CC)/g' -i src/makefile
|
|
}
|
|
|
|
do_install() {
|
|
vbin chuck
|
|
}
|