Commit bb8bc416 authored by mpmkp2020's avatar mpmkp2020 Committed by Rasmus Thomsen
Browse files

community/makekit: enable on aarch64

parent 519dd212
Pipeline #18596 failed with stages
in 56 seconds
......@@ -5,11 +5,13 @@ pkgver=0.2
pkgrel=0
pkgdesc="Modular build system for POSIX environments"
url="https://bkoropoff.github.io/makekit"
arch="x86 x86_64"
arch="x86 x86_64 aarch64"
license="BSD-3-Clause"
options="!check" # No test suite
makedepends="coreutils"
source="$pkgname-$pkgver.tar.gz::https://github.com/bkoropoff/makekit/archive/release-$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/bkoropoff/makekit/archive/release-$pkgver.tar.gz
makekit_alpine_aarch64.patch"
builddir="$srcdir/makekit-release-$pkgver"
prepare() {
......@@ -34,4 +36,5 @@ package() {
make -C build DESTDIR="$pkgdir" install
}
sha512sums="7746141b253953212d621f9c4a8376b5c6bd3ac15d1809b184013a27c51006be2e2ee5ef391509486ae89b7fdca81863f8c916538bcb98e435ebf0ff1976f1ce makekit-0.2.tar.gz"
sha512sums="7746141b253953212d621f9c4a8376b5c6bd3ac15d1809b184013a27c51006be2e2ee5ef391509486ae89b7fdca81863f8c916538bcb98e435ebf0ff1976f1ce makekit-0.2.tar.gz
fd12583c229f0dc961f6126761459920ce222b7c88de7f3eb0cdfefbd0a67b02e218dd578855b111fae28cff4c0edeb4cd4db90a631e2c6fe20d24cb594a563d makekit_alpine_aarch64.patch"
diff -aurN a/mk/module/platform.sh b/mk/module/platform.sh
--- a/mk/module/platform.sh 2014-06-04 03:45:33.000000000 +0000
+++ b/mk/module/platform.sh 2020-04-17 13:43:14.000000000 +0000
@@ -629,6 +629,9 @@
ppc)
_default_MK_BUILD_ARCH="powerpc"
;;
+ aarch64)
+ _default_MK_BUILD_ARCH="aarch64"
+ ;;
*)
mk_fail "unknown architecture: `uname -m`"
;;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment