1 TERMUX_PKG_HOMEPAGE
=https
://developer.android.com
/tools
/sdk
/ndk
/index.html
2 TERMUX_PKG_DESCRIPTION
="Header files from the Android NDK needed for compiling C++ programs using STL"
3 TERMUX_PKG_VERSION
=$TERMUX_NDK_VERSION
4 TERMUX_PKG_NO_DEVELSPLIT
=yes
6 termux_step_extract_into_massagedir
() {
7 mkdir
-p
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/
8 cp -Rf
$TERMUX_STANDALONE_TOOLCHAIN/include
/c
++/4.9.x
/* $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/
10 if [ $TERMUX_ARCH = arm
]; then
11 cp $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/arm-linux-androideabi
/armv7-a
/bits
/* \
12 $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/bits
14 cp $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/$TERMUX_ARCH-linux
-android
/bits
/* \
15 $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/bits
17 # fenv.h is a C++ compatibility header which should be included with the compiler
18 rm -Rf
$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
/{arm-linux-androideabi
,tr1
,tr2
,fenv.h
,complex.h
}
21 termux_step_massage
() {
22 echo "overriding termux_step_massage to avoid removing header files"