void-packages/srcpkgs/pd/template

36 lines
917 B
Bash

# Template file for 'pd'
pkgname=pd
version=0.48.1
revision=1
_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"
depends="tk"
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=e89db1ca58ae3d3f5a94f68ddb0ace9cc02c8af28aa19a4ae4f0ddeeb7a24da3
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
}
}