void-packages/srcpkgs/pd/template

35 lines
892 B
Bash
Raw Normal View History

2015-10-04 00:24:34 +00:00
# Template file for 'pd'
pkgname=pd
version=0.46.7
2015-10-10 17:08:50 +00:00
revision=2
2015-10-04 00:24:34 +00:00
_ver=${version%.*}-${version##*.}
wrksrc="$pkgname-$_ver"
build_style=gnu-configure
configure_args="--enable-alsa --enable-jack --disable-portaudio --enable-fftw"
hostmakedepends="automake libtool pkg-config"
makedepends="jack-devel tk-devel fftw-devel"
short_desc="The Pure Data real-time music and multimedia environment"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="BSD"
homepage="http://msp.ucsd.edu/software.html"
distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz"
checksum=543802341bb0c7d03ed3a64cd56e2fafdbd35505d815ae3ced6555b43eaf58e5
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE.txt
}
pd-devel_package() {
depends="pd>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}