void-packages/srcpkgs/pd/template
2017-04-06 18:52:41 +02:00

34 lines
904 B
Bash

# Template file for 'pd'
pkgname=pd
version=0.46.7
revision=3
_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="alsa-lib-devel jack-devel tk-devel fftw-devel"
short_desc="The Pure Data real-time music and multimedia environment"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
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
}
}