void-packages/srcpkgs/faust/template

29 lines
1,005 B
Bash
Raw Normal View History

# Template file for 'faust'
pkgname=faust
version=2.20.2
revision=1
build_style=gnu-makefile
hostmakedepends="cmake pkg-config llvm"
makedepends="libmicrohttpd-devel llvm-libunwind-devel"
short_desc="Functional Programming Language for Real Time Signal Processing"
maintainer="mag <mag-one@autistici.org>"
license="GPL-2.0-or-later"
homepage="http://faust.grame.fr/"
distfiles=https://github.com/grame-cncm/faust/releases/download/${version}/${pkgname}-${version}.tar.gz
checksum="c32588ee60d0f7ca25034d3d5436def6b35495f4d3beb3b02208d48684bcfbe9"
# Android stuffs, used by the 'faust2android' script.
nostrip_files="libsndfile.so "
noverifyrdeps="libsndfile.so"
skiprdeps="/usr/lib/faust/android/app/lib/libsndfile/lib/armeabi-v7a/libsndfile.so
/usr/lib/faust/android/app/lib/libsndfile/lib/arm64-v8a/libsndfile.so"
case $XBPS_TARGET_MACHINE in
*-musl) makedepends+=" libexecinfo-devel";;
esac
post_install() {
mv $PKGDESTDIR/usr/share/faust $PKGDESTDIR/usr/lib
vcopy examples usr/lib/${pkgname}
}