aboutsummaryrefslogtreecommitdiffstats
path: root/community/gcompat
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2019-05-10 14:15:09 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-27 20:02:12 +0000
commit4ec47414ebafd87dff9b1a12f9472e5f8e713adb (patch)
tree415d2fcc6e69582a075a76e785f574ee6e63049d /community/gcompat
parentfd1d201ff3c4221e7b8c2509bb0aeed05e999f8d (diff)
downloadaports-4ec47414ebafd87dff9b1a12f9472e5f8e713adb.tar.bz2
aports-4ec47414ebafd87dff9b1a12f9472e5f8e713adb.tar.xz
community/gcompat: upgrade to 0.4.0
Diffstat (limited to 'community/gcompat')
-rw-r--r--community/gcompat/APKBUILD33
1 files changed, 15 insertions, 18 deletions
diff --git a/community/gcompat/APKBUILD b/community/gcompat/APKBUILD
index 2eecaefefb..e6c4bc4242 100644
--- a/community/gcompat/APKBUILD
+++ b/community/gcompat/APKBUILD
@@ -1,37 +1,34 @@
# Maintainer:
pkgname=gcompat
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=0
pkgdesc="The GNU C Library compatibility layer for musl"
url="https://code.foxkit.us/adelie/gcompat"
-arch="all !aarch64"
-license="UoI-NCSA"
-depends="libc6-compat"
-makedepends=""
-install=""
+arch="all"
+options="!check" # No test suite
+license="NCSA"
+makedepends="libucontext-dev"
replaces="libc6-compat"
source="https://distfiles.adelielinux.org/source/gcompat/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/gcompat-$pkgver"
-options="!check"
case "$CARCH" in
-armel) _ld="ld-linux.so.3" ;;
-armhf | armv7) _ld="ld-linux-armhf.so.3" ;;
-aarch64) _ld="ld-linux-aarch64.so.1" ;;
-x86) _ld="ld-linux.so.2" ;;
-x86_64) _ld="ld-linux-x86-64.so.2" ;;
-mips* | s390*) _ld="ld.so.1" ;;
-ppc64le) _ld="ld64.so.2" ;;
+ armel) _ld="ld-linux.so.3" ;;
+ armhf | armv7) _ld="ld-linux-armhf.so.3" ;;
+ aarch64) _ld="ld-linux-aarch64.so.1" ;;
+ x86) _ld="ld-linux.so.2" ;;
+ x86_64) _ld="ld-linux-x86-64.so.2" ;;
+ mips* | s390*) _ld="ld.so.1" ;;
+ ppc64le) _ld="ld64.so.2" ;;
esac
build() {
cd "$builddir"
- make LINKER_PATH="/lib/ld-musl-${CARCH}.so.1" LOADER_NAME="$_ld"
+ make LINKER_PATH="/lib/ld-musl-${CARCH}.so.1" LOADER_NAME="$_ld" WITH_LIBUCONTEXT=1
}
package() {
cd "$builddir"
- make LINKER_PATH="/lib/ld-musl-${CARCH}.so.1" LOADER_NAME="$_ld" DESTDIR="$pkgdir" install
+ make LINKER_PATH="/lib/ld-musl-${CARCH}.so.1" LOADER_NAME="$_ld" WITH_LIBUCONTEXT=1 DESTDIR="$pkgdir" install
}
-sha512sums="1f7dd73efd556b7e0f7f1c80751185583de24daf4ab235b488ea1ab98cea2d3a94abed341b922be0bd43c8d539a00176b892c78acf09f2adacb279c09648b3be gcompat-0.3.0.tar.xz"
+sha512sums="32b4038a031b9af2d5febb547fe9268eb829f40bb2437c94afe5b939e06e7337448ad7f2dce34362829d19672ede54eec8fc34dc755736dbc76f347906ba5ead gcompat-0.4.0.tar.xz"