void-packages/srcpkgs/csound/template
2017-12-23 17:20:02 +01:00

27 lines
935 B
Bash

# Template file for 'csound'
pkgname=csound
version=6.10.0
revision=1
build_style=cmake
configure_args="
-DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1
-DDPD_MODULE_INSTALL_DIR=/usr/lib/pd/extra"
hostmakedepends="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 <abc@pompel.me>"
license="LGPL-3"
homepage="http://csound.github.io"
distfiles="https://github.com/$pkgname/$pkgname/archive/$version.tar.gz"
checksum=a241043521572d00ae3a926611ac52fd6a7e3fe6bafdbe707867aafe32f6d8a3
nocross=yes
post_install() {
rm -r $DESTDIR/tmp
vinstall ${FILESDIR}/csound.sh 755 etc/profile.d
# Avoid conflict with libextractor
mv ${DESTDIR}/usr/bin/extract ${DESTDIR}/usr/bin/csextract
}