~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace gcc with clang
[termux-packages]
/
packages
/
libgpg-error
/
build.sh
diff --git
a/packages/libgpg-error/build.sh
b/packages/libgpg-error/build.sh
index
6eff568
..
0624308
100755
(executable)
--- a/
packages/libgpg-error/build.sh
+++ b/
packages/libgpg-error/build.sh
@@
-1,6
+1,6
@@
TERMUX_PKG_HOMEPAGE=http://www.gnupg.org/related_software/libgpg-error/
TERMUX_PKG_DESCRIPTION="Small library that defines common error values for all GnuPG components"
TERMUX_PKG_HOMEPAGE=http://www.gnupg.org/related_software/libgpg-error/
TERMUX_PKG_DESCRIPTION="Small library that defines common error values for all GnuPG components"
-TERMUX_PKG_VERSION=1.2
3
+TERMUX_PKG_VERSION=1.2
4
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_RM_AFTER_INSTALL="share/common-lisp"
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_RM_AFTER_INSTALL="share/common-lisp"
@@
-16,5
+16,9
@@
termux_step_post_extract_package () {
# Android i686 has same config as arm (verified by generating a file on a i686 device):
cp $TERMUX_PKG_SRCDIR/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h \
$TERMUX_PKG_SRCDIR/src/syscfg/lock-obj-pub.linux-android.h
# Android i686 has same config as arm (verified by generating a file on a i686 device):
cp $TERMUX_PKG_SRCDIR/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h \
$TERMUX_PKG_SRCDIR/src/syscfg/lock-obj-pub.linux-android.h
+ elif [ $TERMUX_ARCH = x86_64 ]; then
+ # FIXME: Generate on device.
+ cp $TERMUX_PKG_BUILDER_DIR/lock-obj-pub.aarch64-unknown-linux-android.h \
+ $TERMUX_PKG_SRCDIR/src/syscfg/lock-obj-pub.linux-android.h
fi
}
fi
}