termux-packages/packages/ndk-stl/build.sh

18 lines
790 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
TERMUX_PKG_DESCRIPTION="Header files from the Android NDK needed for compiling C++ programs using STL"
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
2017-07-15 03:07:06 +02:00
TERMUX_PKG_REVISION=1
2015-06-13 01:03:31 +02:00
TERMUX_PKG_NO_DEVELSPLIT=yes
termux_step_extract_into_massagedir () {
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/c++/v1/
cp -Rf $TERMUX_STANDALONE_TOOLCHAIN/include/c++/4.9.x/* $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/c++/v1/
2016-05-19 00:32:59 +02:00
# fenv.h is a C++ compatibility header which should be included with the compiler
#rm -Rf $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/{arm-linux-androideabi,tr1,tr2,fenv.h,complex.h,stdio.h,wctype.h}
2015-06-13 01:03:31 +02:00
}
termux_step_massage () {
echo "overriding termux_step_massage to avoid removing header files"
}