void-packages/srcpkgs/vice/template

25 lines
847 B
Bash
Raw Normal View History

2013-10-30 20:09:40 +00:00
# Template file for 'vice'
pkgname=vice
2015-06-03 15:07:44 +00:00
version=2.4.20
2014-11-21 08:18:44 +00:00
revision=1
2013-10-30 20:09:40 +00:00
build_style=gnu-configure
2015-06-03 15:07:44 +00:00
configure_args="--enable-sdlui $(vopt_with pulseaudio pulse)"
2015-03-23 07:09:45 +00:00
hostmakedepends="pkg-config bdftopcf mkfontdir flex"
2015-06-03 15:07:44 +00:00
makedepends="zlib-devel readline-devel libpng-devel giflib-devel SDL-devel
$(vopt_if pulseaudio pulseaudio-devel)"
2013-10-30 20:09:40 +00:00
short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-10-30 20:09:40 +00:00
license="GPL-2"
homepage="http://vice-emu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/vice-emu/$pkgname-$version.tar.gz"
2015-06-03 15:07:44 +00:00
checksum=e5d3d125940f0fafe409aabeec9de4e3ae8d9c19a731aa7ec6a57f6d2b897c5f
2013-10-30 20:09:40 +00:00
# Package build options
build_options="pulseaudio"
build_options_default="pulseaudio"
pre_configure() {
# Do not install data to /usr/lib64
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure
}