void-packages/srcpkgs/csound/template

26 lines
951 B
Bash

# Template file for 'csound'
pkgname=csound
version=6.05.0
revision=2
build_style=cmake
configure_args="
-DJAVA_MODULE_INSTALL_DIR=/usr/lib/csound/java
-DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages
-DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1
-DDPD_MODULE_INSTALL_DIR=/usr/lib/pd/extra"
hostmakedepends="cmake python flex"
makedepends="pd-devel fltk-devel fluidsynth-devel liblo-devel portaudio-devel portmidi-devel tk-devel libcurl-devel LuaJIT-devel boost-devel libgomp-devel libsndfile-devel"
depends="pd"
short_desc="A programming language for sound rendering and signal processing"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="LGPL-3"
homepage="http://csound.github.io"
distfiles="https://github.com/$pkgname/$pkgname/archive/$version.tar.gz"
checksum=2384cbc82fe37b70192c87977b52c55b336731ecbfd3be1d8d30c7223815d7b9
nocross=yes
post_install() {
rm -r $DESTDIR/tmp
vinstall ${FILESDIR}/csound.sh 755 etc/profile.d
}