9978e00086
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template' | xargs -r sed -i '/^patch_args=/d'
31 lines
985 B
Bash
31 lines
985 B
Bash
# Template file for 'chuck'
|
|
pkgname=chuck
|
|
version=1.4.0.1
|
|
revision=1
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
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=11a20c34b385e132bf43d5ae6a562c652f631828cc6b1562a4c029bc9a850ed4
|
|
|
|
|
|
post_extract() {
|
|
# 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
|
|
}
|