void-packages/srcpkgs/dosbox/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
844 B
Bash

# Template file for 'dosbox'
pkgname=dosbox
version=0.74
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="alsa-lib-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
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
}