void-packages/srcpkgs/libsidplayfp/template

27 lines
807 B
Bash

# Template file for 'libsidplayfp'
pkgname=libsidplayfp
version=1.8.7
revision=1
build_style=gnu-configure
short_desc="Library to play Commodore 64 SID music"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0"
homepage="https://sourceforge.net/projects/sidplay-residfp/"
distfiles="${SOURCEFORGE_SITE}/sidplay-residfp/${pkgname}/${version%.*}/${pkgname}-${version}.tar.gz"
checksum=aa81272ff2093d712041d1bba3f7c9e2f654ed5db4e0a698e3d3c3c5dad26192
case "$XBPS_TARGET_MACHINE" in
*-musl) CXXFLAGS="-Duint=unsigned"; configure_args="ac_cv_sizeof_int=4";;
esac
libsidplayfp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}