void-packages/srcpkgs/vice/template
2014-11-21 10:47:41 +01:00

29 lines
920 B
Text

# Template file for 'vice'
pkgname=vice
version=2.4.10
revision=1
build_style=gnu-configure
configure_args="--enable-sdlui"
hostmakedepends="pkg-config bdftopcf mkfontdir"
makedepends="zlib-devel readline-devel libpng-devel giflib-devel SDL-devel"
short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://vice-emu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/vice-emu/$pkgname-$version.tar.gz"
checksum=e89ebd99481398b7667d8f3d8ca99d3f3060d54d658a1b23a46ae981226cd0ba
# Package build options
build_options="pulseaudio"
build_options_default="pulseaudio"
if [ "$build_option_pulseaudio" ]; then
configure_args+=" --with-pulse"
makedepends+=" pulseaudio-devel"
else
configure_args+=" --without-pulse"
fi
pre_configure() {
# Do not install data to /usr/lib64
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure
}