void-packages/srcpkgs/fluidsynth/template

32 lines
873 B
Bash

# Template file for 'fluidsynth'
pkgname=fluidsynth
version=1.1.7
revision=1
build_style=cmake
configure_args="-DLIB_SUFFIX="
hostmakedepends="pkg-config"
makedepends="glib-devel jack-devel pulseaudio-devel readline-devel libsndfile-devel"
short_desc="Real-time software synthesizer based on the SoundFont 2 specifications"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.fluidsynth.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f32636aa3f715fa4a4010db73530b58fbd94d192b78cd276d0b819c8fc855129
libfluidsynth_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
fluidsynth-devel_package() {
depends="libfluidsynth>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}