36 lines
941 B
Bash
36 lines
941 B
Bash
# Template file for 'pd'
|
|
pkgname=pd
|
|
version=0.54.1
|
|
revision=1
|
|
_ver=${version%.*}-${version##*.}
|
|
build_style=gnu-configure
|
|
configure_args="--enable-alsa --enable-jack --disable-portaudio --enable-fftw"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="alsa-lib-devel jack-devel tk-devel fftw-devel"
|
|
depends="tk"
|
|
short_desc="Pure Data real-time music and multimedia environment"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://puredata.info"
|
|
distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz"
|
|
checksum=85c3d4bd3620b401e7b5d584787a052082b294c4c4eeeb3583d7709d93fd04c2
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
# fix a broken symlink
|
|
ln -sf /usr/bin/pd "${DESTDIR}/usr/lib/pd/bin/pd"
|
|
}
|
|
|
|
pd-devel_package() {
|
|
depends="pd>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|