2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.hboehm.info/gc/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Library providing the Boehm-Demers-Weiser conservative garbage collector"
|
2016-08-14 14:05:19 +02:00
|
|
|
TERMUX_PKG_VERSION=7.6.0
|
2017-10-19 21:36:25 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2016-08-14 14:05:19 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://www.hboehm.info/gc/gc_source/gc-${TERMUX_PKG_VERSION}.tar.gz
|
2017-02-12 22:15:13 +01:00
|
|
|
TERMUX_PKG_SHA256=a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/gc"
|
2017-09-29 00:15:57 +02:00
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
termux_step_post_extract_package () {
|
2017-12-20 02:02:26 +01:00
|
|
|
LIBATOMIC_VERSION=7.4.8
|
2015-06-13 01:03:31 +02:00
|
|
|
LIBATOMIC_FILE=libatomic_ops-${LIBATOMIC_VERSION}.tar.gz
|
2017-02-12 22:15:13 +01:00
|
|
|
test ! -f $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE && \
|
|
|
|
termux_download \
|
2017-06-02 14:00:57 +02:00
|
|
|
https://github.com/ivmai/libatomic_ops/releases/download/v${LIBATOMIC_VERSION}/libatomic_ops-${LIBATOMIC_VERSION}.tar.gz \
|
2017-02-12 22:15:13 +01:00
|
|
|
$TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE \
|
2017-12-20 02:02:26 +01:00
|
|
|
c405d5524b118c197499bc311b8ebe18f7fe47fc820f2c2fcefde1753fbd436a
|
2015-06-13 01:03:31 +02:00
|
|
|
tar xf $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE
|
|
|
|
mv libatomic_ops-${LIBATOMIC_VERSION} libatomic_ops
|
2016-01-04 12:24:46 +01:00
|
|
|
./autogen.sh
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|