void-packages/srcpkgs/libsidplayfp/template

27 lines
816 B
Bash

# Template file for 'libsidplayfp'
pkgname=libsidplayfp
version=1.8.8
revision=2
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-or-later"
homepage="https://sourceforge.net/projects/sidplay-residfp/"
distfiles="${SOURCEFORGE_SITE}/sidplay-residfp/${pkgname}/${version%.*}/${pkgname}-${version}.tar.gz"
checksum=d28b0c28ceea62627c137b4194e8bed866c8f2cec65bac97fde63639250a31e0
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
}
}