From 27c0b5d13194deb7246da1d7138565e7e5268e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20B=C4=83descu?= Date: Sun, 26 Jun 2022 02:51:57 -0400 Subject: [PATCH] New package: qbe-1.0 --- srcpkgs/qbe/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/qbe/template diff --git a/srcpkgs/qbe/template b/srcpkgs/qbe/template new file mode 100644 index 000000000000..3b8f6bba64aa --- /dev/null +++ b/srcpkgs/qbe/template @@ -0,0 +1,24 @@ +# Template file for 'qbe' +pkgname=qbe +version=1.0 +revision=1 +build_style=gnu-makefile +make_use_env=yes +short_desc="Simple compiler backend with full support for the C ABI" +maintainer="Costin Bădescu " +license="MIT" +homepage="https://c9x.me/compile" +distfiles="https://c9x.me/compile/release/${pkgname}-${version}.tar.xz" +checksum=257ef3727c462795f8e599771f18272b772beb854aacab97e0fda70c13745e0c + +case "$XBPS_TARGET_MACHINE" in + aarch64*) ;; + x86_64*) ;; +# `make check` expects access to a compiler that targets aarch64, +# x86_64, or riscv64. + *) make_check=no ;; +esac + +post_install() { + vlicense LICENSE +}