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
|
2018-01-03 00:53:56 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_NO_DEVELSPLIT=yes
|
|
|
|
|
|
|
|
termux_step_extract_into_massagedir () {
|
2017-07-14 00:23:37 +02:00
|
|
|
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/
|
2017-07-16 15:08:45 +02:00
|
|
|
|
|
|
|
# Revert the patch for <cstddef> that's only used for using g++
|
|
|
|
# from the ndk (https://github.com/android-ndk/ndk/issues/215):
|
|
|
|
cd $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include/c++/v1/
|
|
|
|
sed "s%\@TERMUX_HOST_PLATFORM\@%${TERMUX_HOST_PLATFORM}%g" $TERMUX_SCRIPTDIR/ndk-patches/cstddef.cpppatch | patch -p1 -R
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_massage () {
|
|
|
|
echo "overriding termux_step_massage to avoid removing header files"
|
|
|
|
}
|