void-packages/srcpkgs/vice/template

30 lines
920 B
Plaintext
Raw Normal View History

2013-10-30 21:09:40 +01:00
# Template file for 'vice'
pkgname=vice
2014-11-21 10:47:41 +01:00
version=2.4.10
2014-11-21 09:18:44 +01:00
revision=1
2013-10-30 21:09:40 +01:00
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"
2014-11-21 10:47:41 +01:00
checksum=e89ebd99481398b7667d8f3d8ca99d3f3060d54d658a1b23a46ae981226cd0ba
2013-10-30 21:09:40 +01:00
# 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
}