# Template file for 'libspectrum'
pkgname=libspectrum
version=1.2.2
revision=1
build_style=gnu-configure
hostmakedepends="perl pkg-config"
makedepends="glib-devel libgcrypt-devel zlib-devel bzip2-devel audiofile-devel"
short_desc="Spectrum emulation support library"
maintainer="Jakub Skrzypnik <j.skrzypnik@openmailbox.org>"
license="GPL-2"
homepage="http://fuse-emulator.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/fuse-emulator/${pkgname}-${version}.tar.gz"
checksum=1f8a365df30d7cb2bb5c289163cf122241660cae6dc2cb70687064c847ad12d1

libspectrum-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
	}
}
