void-packages/srcpkgs/dosbox/template

26 lines
847 B
Bash
Raw Normal View History

2012-09-18 14:57:55 +02:00
# Template file for 'dosbox'
pkgname=dosbox
version=0.74
revision=5
2012-09-18 14:57:55 +02:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libpng-devel SDL_net-devel SDL_sound-devel"
2012-09-18 14:57:55 +02:00
short_desc="x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-09-18 14:57:55 +02:00
license="GPL-2"
homepage="http://dosbox.sourceforget.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05
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
}