2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
|
|
|
|
TERMUX_PKG_DESCRIPTION="System header and library files from the Android NDK needed for compiling C programs"
|
|
|
|
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
|
2015-11-14 03:53:24 +01:00
|
|
|
TERMUX_PKG_BUILD_REVISION=1
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_NO_DEVELSPLIT=yes
|
2015-11-14 03:53:24 +01:00
|
|
|
# Depend on libandroid-support-dev so that iconv.h and libintl.h are available:
|
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support-dev"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_extract_into_massagedir () {
|
|
|
|
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/pkgconfig $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
|
|
|
|
cp -Rf $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include/* $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/include
|
|
|
|
cp $TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/*.o $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib
|
|
|
|
|
|
|
|
cat > $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/lib/pkgconfig/zlib.pc <<HERE
|
|
|
|
Name: zlib
|
|
|
|
Description: zlib compression library
|
|
|
|
Version: 1.2.3
|
|
|
|
|
|
|
|
Requires:
|
|
|
|
Libs: -L$TERMUX_PREFIX/lib -lz
|
|
|
|
Cflags: -I$TERMUX_PREFIX/include
|
|
|
|
HERE
|
|
|
|
}
|