25 lines
847 B
Bash
25 lines
847 B
Bash
# Template file for 'vice'
|
|
pkgname=vice
|
|
version=2.4.23
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-sdlui $(vopt_with pulseaudio pulse)"
|
|
hostmakedepends="pkg-config bdftopcf mkfontdir flex"
|
|
makedepends="zlib-devel readline-devel libpng-devel giflib-devel SDL-devel
|
|
$(vopt_if pulseaudio pulseaudio-devel)"
|
|
short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://vice-emu.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/vice-emu/$pkgname-$version.tar.gz"
|
|
checksum=89f5b7357d0cc812057b2326b19933ff4806f49b6ee7d0f4a54a6ee0d5aaf478
|
|
|
|
# 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
|
|
}
|