void-packages/srcpkgs/libspectrum/template

26 lines
786 B
Bash

# Template file for 'libspectrum'
pkgname=libspectrum
version=1.4.2
revision=1
build_style=gnu-configure
hostmakedepends="perl pkg-config"
makedepends="audiofile-devel libglib-devel libgcrypt-devel"
short_desc="Spectrum emulation support library"
maintainer="Jakub Skrzypnik <j.skrzypnik@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="http://fuse-emulator.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/fuse-emulator/${pkgname}-${version}.tar.gz"
checksum=ea7db5c7a413e7104ffc1e9c2b97fe4ba94f48155aeb4b11ce95d3baad836e81
libspectrum-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
}
}