New package: qbe-1.1

Closes: https://github.com/void-linux/void-packages/pull/43951
This commit is contained in:
Bryce Vandegrift 2023-05-19 16:36:06 -04:00 committed by Duncaen
parent fedfdbd1c6
commit b5894125cf
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 27 additions and 0 deletions

27
srcpkgs/qbe/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'qbe'
pkgname=qbe
version=1.1
revision=1
build_style=gnu-makefile
make_use_env=yes
short_desc="Small embeddable C compiler backend"
maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
license="MIT"
homepage="https://c9x.me/compile/"
distfiles="https://c9x.me/compile/release/qbe-${version}.tar.xz"
checksum=7d0a53dd40df48072aae317e11ddde15d1a980673160e514e235b9ecaa1db12c
# Currently only aarch64 and x86_64 targets are supported and the checks
# test the compiled binaries.
case "$XBPS_TARGET_MACHINE" in
aarch64*|x86_64*) ;;
*) make_check=no ;;
esac
post_install() {
vdoc doc/abi.txt
vdoc doc/il.txt
vdoc doc/llvm.txt
vlicense LICENSE
}