void-packages/srcpkgs/gxemul/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

28 lines
808 B
Bash

# Template file for 'gxemul'
pkgname=gxemul
version=0.6.2
revision=2
makedepends="libX11-devel"
short_desc="Framework for full-system computer architecture emulation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://gavare.se/gxemul/"
changelog="http://gavare.se/gxemul/gxemul-stable/HISTORY.html"
distfiles="http://gavare.se/gxemul/src/gxemul-${version}.tar.gz"
checksum=a703ac7965feb3c701c7677d78c353f0efa1af4d36a9508fb045eb63dd571547
nocross="./_testpri: cannot execute binary file: Exec format error"
patch_args=-Np0
do_configure() {
PREFIX=/usr MANDIR=${DESTDIR}/usr/share/man ./configure
# Skip tests
vsed -i '/^install:/s/test//' Makefile
}
do_build() {
make CXX=$CXX CC=$CC ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vlicense LICENSE
}