void-packages/srcpkgs/pd/template

35 lines
907 B
Bash
Raw Normal View History

2015-10-04 00:24:34 +00:00
# Template file for 'pd'
pkgname=pd
version=0.46.7
2016-04-14 11:22:44 +00:00
revision=3
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"
2016-04-14 11:22:44 +00:00
makedepends="alsa-lib-devel jack-devel tk-devel fftw-devel"
2015-10-04 00:24:34 +00:00
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
}
}