void-packages/srcpkgs/vpcs/template

27 lines
642 B
Bash

# Template file for 'vpcs'
pkgname=vpcs
version=0.8
revision=1
build_wrksrc="src"
build_style=gnu-makefile
makedepends="glibc-devel"
short_desc="Virtual PC Simulator"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="BSD 2-Clause"
homepage="https://sourceforge.net/projects/vpcs"
distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz"
checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993
case "$XBPS_TARGET_MACHINE" in
*-musl) broken=yes # depends on GNU getopt
;;
esac
pre_build() {
ln -s Makefile.linux Makefile
}
do_install() {
vbin vpcs
vlicense $wrksrc/COPYING
}