void-packages/srcpkgs/dosbox/template

38 lines
1.2 KiB
Text

# Template file for 'dosbox'
pkgname=dosbox
version=0.74
revision=2
build_style=gnu-configure
makedepends="pkg-config SDL-devel libpng-devel SDL_net-devel SDL_sound-devel"
short_desc="x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://dosbox.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05
long_desc="
DOSBox is a x86 emulator with Tandy/Hercules/CGA/EGA/VGA/SVGA graphics, sound
and DOS. It's been designed to run old DOS games under platforms that don't
support it.
The following legacy sound devices are emulated: PC Speaker, Creative
CMS/Gameblaster, Tandy 3 voice, Adlib, Sound Blaster Pro/16, Disney
Soundsource and a Gravis Ultrasound. MPU-401 is forwarded to the host."
pre_configure() {
sed -i 's/png_check_sig/png_sig_cmp/' configure
}
post_install() {
vinstall README 644 usr/share/doc/${pkgname}
vinstall docs/README.video 644 usr/share/doc/${pkgname}
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
}
dosbox_package() {
pkg_install() {
vmove usr
}
}