Browse Source

Stand in srcdir for termux_step_pre_configure

android-5
Fredrik Fornwall 8 years ago
parent
commit
ca7699c169
  1. 2
      build-package.sh
  2. 2
      packages/bash/build.sh
  3. 3
      packages/bmon/build.sh
  4. 1
      packages/ctags/build.sh
  5. 1
      packages/expect/build.sh
  6. 1
      packages/gawk/build.sh
  7. 1
      packages/hunspell/build.sh
  8. 1
      packages/lftp/build.sh
  9. 1
      packages/libcln/build.sh
  10. 1
      packages/libuv/build.sh
  11. 1
      packages/macchanger/build.sh
  12. 1
      packages/man/build.sh
  13. 2
      packages/openssh/build.sh
  14. 1
      packages/php/build.sh
  15. 1
      packages/readline/build.sh
  16. 1
      packages/screen/build.sh
  17. 1
      packages/tesseract/build.sh
  18. 1
      packages/tmate/build.sh
  19. 1
      packages/torsocks/build.sh
  20. 1
      packages/transmission/build.sh
  21. 2
      packages/zbar/build.sh

2
build-package.sh

@ -1061,7 +1061,7 @@ termux_step_handle_hostbuild
termux_step_setup_toolchain termux_step_setup_toolchain
termux_step_patch_package termux_step_patch_package
termux_step_replace_guess_scripts termux_step_replace_guess_scripts
cd "$TERMUX_PKG_BUILDDIR" cd "$TERMUX_PKG_SRCDIR"
termux_step_pre_configure termux_step_pre_configure
cd "$TERMUX_PKG_BUILDDIR" cd "$TERMUX_PKG_BUILDDIR"
termux_step_configure termux_step_configure

2
packages/bash/build.sh

@ -24,8 +24,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" bash_cv_getcwd_malloc=yes"
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/bashbug.1 bin/bashbug" TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/bashbug.1 bin/bashbug"
termux_step_pre_configure () { termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
declare -A PATCH_CHECKSUMS declare -A PATCH_CHECKSUMS
PATCH_CHECKSUMS[001]=3e28d91531752df9a8cb167ad07cc542abaf944de9353fe8c6a535c9f1f17f0f PATCH_CHECKSUMS[001]=3e28d91531752df9a8cb167ad07cc542abaf944de9353fe8c6a535c9f1f17f0f
PATCH_CHECKSUMS[002]=7020a0183e17a7233e665b979c78c184ea369cfaf3e8b4b11f5547ecb7c13c53 PATCH_CHECKSUMS[002]=7020a0183e17a7233e665b979c78c184ea369cfaf3e8b4b11f5547ecb7c13c53

3
packages/bmon/build.sh

@ -8,6 +8,5 @@ TERMUX_PKG_DEPENDS="libconfuse, libnl, ncurses"
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR ./autogen.sh
./autogen.sh
} }

1
packages/ctags/build.sh

@ -9,7 +9,6 @@ TERMUX_PKG_FOLDERNAME=ctags-$_COMMIT
TERMUX_PKG_BUILD_IN_SRC="yes" TERMUX_PKG_BUILD_IN_SRC="yes"
termux_step_pre_configure() { termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR
export regcomp_works=yes export regcomp_works=yes
./autogen.sh ./autogen.sh
} }

1
packages/expect/build.sh

@ -6,7 +6,6 @@ TERMUX_PKG_SHA256=b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc0
TERMUX_PKG_DEPENDS="libutil, tcl" TERMUX_PKG_DEPENDS="libutil, tcl"
termux_step_pre_configure () { termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
autoconf autoconf
} }

1
packages/gawk/build.sh

@ -12,7 +12,6 @@ termux_step_pre_configure () {
rm -f $TERMUX_PREFIX/bin/awk rm -f $TERMUX_PREFIX/bin/awk
# http://cross-lfs.org/view/CLFS-2.1.0/ppc64-64/temp-system/gawk.html # http://cross-lfs.org/view/CLFS-2.1.0/ppc64-64/temp-system/gawk.html
cd $TERMUX_PKG_SRCDIR
cp -v extension/Makefile.in{,.orig} cp -v extension/Makefile.in{,.orig}
sed -e 's/check-recursive all-recursive: check-for-shared-lib-support/check-recursive all-recursive:/' extension/Makefile.in.orig > extension/Makefile.in sed -e 's/check-recursive all-recursive: check-for-shared-lib-support/check-recursive all-recursive:/' extension/Makefile.in.orig > extension/Makefile.in
} }

1
packages/hunspell/build.sh

@ -9,6 +9,5 @@ TERMUX_PKG_FOLDERNAME=hunspell-${TERMUX_PKG_VERSION}
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR
autoreconf -vfi autoreconf -vfi
} }

1
packages/lftp/build.sh

@ -13,7 +13,6 @@ termux_step_pre_configure () {
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-zlib=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr" TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-zlib=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr"
# We have patched an m4 file. # We have patched an m4 file.
cd $TERMUX_PKG_SRCDIR
aclocal aclocal
autoconf autoconf
} }

1
packages/libcln/build.sh

@ -16,7 +16,6 @@ termux_step_pre_configure() {
CPPFLAGS+=" -DNO_ASM" CPPFLAGS+=" -DNO_ASM"
fi fi
cd $TERMUX_PKG_SRCDIR
sed -i -e 's%tests/Makefile %%' configure.ac sed -i -e 's%tests/Makefile %%' configure.ac
sed -i -e 's%examples/Makefile %%' configure.ac sed -i -e 's%examples/Makefile %%' configure.ac
sed -i -e 's%benchmarks/Makefile %%' configure.ac sed -i -e 's%benchmarks/Makefile %%' configure.ac

1
packages/libuv/build.sh

@ -8,6 +8,5 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-dtrace" # needed for building on mac
termux_step_pre_configure () { termux_step_pre_configure () {
export LINK=$CXX export LINK=$CXX
export PLATFORM=android export PLATFORM=android
cd $TERMUX_PKG_SRCDIR
sh autogen.sh sh autogen.sh
} }

1
packages/macchanger/build.sh

@ -6,6 +6,5 @@ TERMUX_PKG_SHA256=1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e
TERMUX_PKG_FOLDERNAME=macchanger-${TERMUX_PKG_VERSION} TERMUX_PKG_FOLDERNAME=macchanger-${TERMUX_PKG_VERSION}
termux_step_pre_configure() { termux_step_pre_configure() {
cd $TERMUX_PKG_SRCDIR
./autogen.sh ./autogen.sh
} }

1
packages/man/build.sh

@ -9,7 +9,6 @@ TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_RM_AFTER_INSTALL="share/examples" TERMUX_PKG_RM_AFTER_INSTALL="share/examples"
termux_step_pre_configure () { termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
LDFLAGS+=" -landroid-glob" LDFLAGS+=" -landroid-glob"
echo "PREFIX=\"$TERMUX_PREFIX\"" > configure.local echo "PREFIX=\"$TERMUX_PREFIX\"" > configure.local
echo "CC=\"$CC\"" >> configure.local echo "CC=\"$CC\"" >> configure.local

2
packages/openssh/build.sh

@ -37,8 +37,6 @@ TERMUX_PKG_MAKE_INSTALL_TARGET="install-nokeys"
TERMUX_PKG_RM_AFTER_INSTALL="bin/slogin share/man/man1/slogin.1" TERMUX_PKG_RM_AFTER_INSTALL="bin/slogin share/man/man1/slogin.1"
termux_step_pre_configure() { termux_step_pre_configure() {
# We patch configure.ac:
cd $TERMUX_PKG_SRCDIR
autoreconf autoreconf
LD=$CC # Needed to link the binaries LD=$CC # Needed to link the binaries

1
packages/php/build.sh

@ -47,7 +47,6 @@ termux_step_pre_configure () {
export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php export NATIVE_PHP_EXECUTABLE=$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/php
# Run autoconf since we have patched config.m4 files. # Run autoconf since we have patched config.m4 files.
cd $TERMUX_PKG_SRCDIR
autoconf autoconf
export EXTENSION_DIR=$TERMUX_PREFIX/lib/php export EXTENSION_DIR=$TERMUX_PREFIX/lib/php

1
packages/readline/build.sh

@ -10,7 +10,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidt
TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw" TERMUX_PKG_EXTRA_MAKE_ARGS="SHLIB_LIBS=-lncursesw"
termux_step_pre_configure () { termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
local PATCH_CHECKSUMS local PATCH_CHECKSUMS
PATCH_CHECKSUMS[1]=9ac1b3ac2ec7b1bf0709af047f2d7d2a34ccde353684e57c6b47ebca77d7a376 PATCH_CHECKSUMS[1]=9ac1b3ac2ec7b1bf0709af047f2d7d2a34ccde353684e57c6b47ebca77d7a376
PATCH_CHECKSUMS[2]=8747c92c35d5db32eae99af66f17b384abaca961653e185677f9c9a571ed2d58 PATCH_CHECKSUMS[2]=8747c92c35d5db32eae99af66f17b384abaca961653e185677f9c9a571ed2d58

1
packages/screen/build.sh

@ -12,7 +12,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
termux_step_pre_configure () { termux_step_pre_configure () {
# Run autoreconf since we have patched configure.ac # Run autoreconf since we have patched configure.ac
cd $TERMUX_PKG_SRCDIR
autoconf autoconf
CFLAGS+=" -DGETUTENT" CFLAGS+=" -DGETUTENT"
LDFLAGS+=" -llog -lcrypt" LDFLAGS+=" -llog -lcrypt"

1
packages/tesseract/build.sh

@ -10,7 +10,6 @@ termux_step_pre_configure() {
# http://blog.matt-swain.com/post/26419042500/installing-tesseract-ocr-on-mac-os-x-lion # http://blog.matt-swain.com/post/26419042500/installing-tesseract-ocr-on-mac-os-x-lion
export LIBLEPT_HEADERSDIR=${TERMUX_PREFIX}/include/leptonica export LIBLEPT_HEADERSDIR=${TERMUX_PREFIX}/include/leptonica
cd $TERMUX_PKG_SRCDIR
perl -p -i -e 's|ADD_RT], true|ADD_RT], false|g' configure.ac perl -p -i -e 's|ADD_RT], true|ADD_RT], false|g' configure.ac
./autogen.sh ./autogen.sh
} }

1
packages/tmate/build.sh

@ -10,6 +10,5 @@ TERMUX_PKG_DEPENDS="libandroid-support, libevent, libmsgpack, libssh, libutil, n
termux_step_pre_configure () { termux_step_pre_configure () {
CFLAGS+=" -DIOV_MAX=1024" CFLAGS+=" -DIOV_MAX=1024"
cd $TERMUX_PKG_SRCDIR
./autogen.sh ./autogen.sh
} }

1
packages/torsocks/build.sh

@ -8,7 +8,6 @@ TERMUX_PKG_DEPENDS="tor"
TERMUX_PKG_FOLDERNAME=torsocks-${__TORSOCKS_REF} TERMUX_PKG_FOLDERNAME=torsocks-${__TORSOCKS_REF}
termux_step_pre_configure () { termux_step_pre_configure () {
cd $TERMUX_PKG_SRCDIR
./autogen.sh ./autogen.sh
} }

1
packages/transmission/build.sh

@ -11,7 +11,6 @@ termux_step_pre_configure() {
# liblog for android logging in syslog hack: # liblog for android logging in syslog hack:
LDFLAGS+=" -llog" LDFLAGS+=" -llog"
cd $TERMUX_PKG_SRCDIR
echo "ac_cv_func_getmntent=no" >> termux_configure.cache echo "ac_cv_func_getmntent=no" >> termux_configure.cache
echo "ac_cv_search_getmntent=false" >> termux_configure.cache echo "ac_cv_search_getmntent=false" >> termux_configure.cache
chmod a-w termux_configure.cache chmod a-w termux_configure.cache

2
packages/zbar/build.sh

@ -11,7 +11,5 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread
--without-python --mandir=$TERMUX_PREFIX/share/man" --without-python --mandir=$TERMUX_PREFIX/share/man"
termux_step_pre_configure () { termux_step_pre_configure () {
# Run autoreconf since we have patched configure.ac
cd $TERMUX_PKG_SRCDIR
autoconf autoconf
} }

Loading…
Cancel
Save