You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
942 B

10 years ago
TERMUX_PKG_HOMEPAGE=http://www.hboehm.info/gc/
TERMUX_PKG_DESCRIPTION="Library providing the Boehm-Demers-Weiser conservative garbage collector"
TERMUX_PKG_VERSION=7.6.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=http://www.hboehm.info/gc/gc_source/gc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90
10 years ago
TERMUX_PKG_RM_AFTER_INSTALL="share/gc"
10 years ago
termux_step_post_extract_package () {
LIBATOMIC_VERSION=7.4.6
10 years ago
LIBATOMIC_FILE=libatomic_ops-${LIBATOMIC_VERSION}.tar.gz
test ! -f $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE && \
termux_download \
https://github.com/ivmai/libatomic_ops/releases/download/v${LIBATOMIC_VERSION}/libatomic_ops-${LIBATOMIC_VERSION}.tar.gz \
$TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE \
96e88ba450ae5fa10aa8e94e6b151a63ffbe47f8069574bd12da22ae80c686db
10 years ago
tar xf $TERMUX_PKG_CACHEDIR/$LIBATOMIC_FILE
mv libatomic_ops-${LIBATOMIC_VERSION} libatomic_ops
./autogen.sh
10 years ago
}