From cd029fdbbcac2c3e3fbb5836aa15df638be5bbc6 Mon Sep 17 00:00:00 2001 From: prez Date: Sat, 30 Apr 2022 23:18:08 +0200 Subject: [PATCH] New package: xmake-2.6.5 --- srcpkgs/xmake/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/xmake/template diff --git a/srcpkgs/xmake/template b/srcpkgs/xmake/template new file mode 100644 index 000000000000..36f8d9b85b93 --- /dev/null +++ b/srcpkgs/xmake/template @@ -0,0 +1,22 @@ +# Template file for 'xmake' +pkgname=xmake +version=2.6.5 +revision=1 +create_wrksrc=yes +build_style=gnu-makefile +make_build_args="BUILD_ARCH=${XBPS_TARGET_MACHINE}" +short_desc="Cross-platform build utility based on Lua" +maintainer="prez " +license="Apache-2.0" +homepage="https://xmake.io/" +distfiles="https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz" +checksum=868f109f660d3f42d8f67aad71b8075b7c3b606d7529956bfc94ad052bb8c1bd + +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends="libatomic-devel" + LDFLAGS="-latomic" +fi + +pre_build() { + export LD="$CC" +}