1 TERMUX_PKG_VERSION
=0.161
2 TERMUX_PKG_HOMEPAGE
=https
://fedorahosted.org
/elfutils
/
3 TERMUX_PKG_DESCRIPTION
="ELF object file access library"
4 TERMUX_PKG_SRCURL
=https
://fedorahosted.org
/releases
/e
/l
/elfutils
/${TERMUX_PKG_VERSION}/elfutils-
${TERMUX_PKG_VERSION}.
tar.bz2
7 CFLAGS
+=" -DTERMUX_EXPOSE_MEMPCPY=1"
9 termux_step_pre_make
() {
10 export TERMUX_PKG_BUILDDIR
=$TERMUX_PKG_BUILDDIR/libelf
11 cd $TERMUX_PKG_BUILDDIR
14 termux_step_post_make_install
() {
15 make install-includeHEADERS
18 termux_step_post_massage
() {
19 # Remove to avoid spurios linking to libelf (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10648):
20 rm -f
$TERMUX_PREFIX/lib
/libelf
*