Rename termux_step_post_extract_package->termux_step_post_get_source
This commit is contained in:
parent
4e902a41a5
commit
7c74bf9726
|
@ -7,7 +7,7 @@ TERMUX_PKG_SHA256=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a576
|
|||
TERMUX_PKG_DEPENDS="m4, make, perl"
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
perl -p -i -e "s|/bin/sh|$TERMUX_PREFIX/bin/sh|" lib/*/*.m4
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ TERMUX_PKG_DEPENDS="liblmdb, openssl, libandroid-glob, pcre"
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-workdir=$TERMUX_PREFIX/var/lib/cfengine --without-pam --without-selinux-policy --without-systemd-service --with-lmdb=$TERMUX_PREFIX --with-openssl=$TERMUX_PREFIX --with-pcre=$TERMUX_PREFIX"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
cd cfengine-masterfiles-${TERMUX_PKG_VERSION}
|
||||
EXPLICIT_VERSION=${TERMUX_PKG_VERSION} ./configure --prefix=$TERMUX_PREFIX/var/lib/cfengine --bindir=$TERMUX_PREFIX/bin
|
||||
make install
|
||||
|
|
|
@ -11,7 +11,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-tmpdir=$TERMUX_PREFIX/tmp"
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_HOSTBUILD=true
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
export regcomp_works=yes
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ TERMUX_PKG_SRCURL=https://sourceforge.net/projects/dirb/files/dirb/${TERMUX_PKG_
|
|||
TERMUX_PKG_SHA256=f3748ade231ca211a01acbec31cc6a3b576f6c56c906d73329d7dbb79f60fc2c
|
||||
TERMUX_PKG_DEPENDS="libcurl"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# dirb222.tar.gz has directory permission problem
|
||||
chmod +x -R "$TERMUX_PKG_SRCDIR"
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ share/man/man1/grep-changelog.1.gz
|
|||
# program still remain in the emacs package):
|
||||
TERMUX_PKG_RM_AFTER_INSTALL+=" bin/ctags share/man/man1/ctags.1 share/man/man1/ctags.1.gz"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Certain packages are not safe to build on device because their
|
||||
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
||||
if $TERMUX_ON_DEVICE_BUILD; then
|
||||
|
|
|
@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
|||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-javac --with-ssl=${TERMUX_PREFIX} --with-termcap"
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="noboot"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# We need a host build every time:
|
||||
rm -Rf "$TERMUX_PKG_HOSTBUILD_DIR"
|
||||
./otp_build autoconf
|
||||
|
|
|
@ -17,7 +17,7 @@ TERMUX_PKG_RM_AFTER_INSTALL="lib/*ng-test*"
|
|||
# --without-async due to that using pthread_cancel().
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-async --with-pcaudiolib"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Certain packages are not safe to build on device because their
|
||||
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
||||
if $TERMUX_ON_DEVICE_BUILD; then
|
||||
|
|
|
@ -15,7 +15,7 @@ CCAUX=gcc
|
|||
--with-system-libtiff
|
||||
"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms2,tiff,openjpeg}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ TERMUX_PKG_DEPENDS="libandroid-support"
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_MAKE_PROCESSES=1
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
local file filename
|
||||
filename=$(basename "$TERMUX_PKG_SRCURL")
|
||||
file="$TERMUX_PKG_CACHEDIR/$filename"
|
||||
|
|
|
@ -7,6 +7,6 @@ TERMUX_PKG_SRCURL=https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_${TERMUX
|
|||
TERMUX_PKG_SHA256=22860e913f093aa9124e295d52d1d4ae1afccaa67ed6bed6f1f8d8b0a45336d1
|
||||
TERMUX_PKG_DEPENDS="libexpat"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
TERMUX_PKG_SRCDIR+=/gpsbabel
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
--enable-sysconfjoesubdir=/jupp
|
||||
"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
chmod +x $TERMUX_PKG_SRCDIR/configure
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ DEFKTNAME=$TERMUX_PREFIX/etc/krb5.keytab
|
|||
DEFCKTNAME=$TERMUX_PREFIX/var/krb5/user/%{euid}/client.keytab
|
||||
"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
TERMUX_PKG_SRCDIR+="/src"
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
-DCMAKE_INSTALL_PREFIX=$LLVM_INSTALL_DIR
|
||||
"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Certain packages are not safe to build on device because their
|
||||
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
||||
if $TERMUX_ON_DEVICE_BUILD; then
|
||||
|
|
|
@ -11,7 +11,7 @@ TERMUX_PKG_PRE_DEPENDS="dpkg (>= 1.19.4-3)"
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
cp wcwidth-${TERMUX_PKG_VERSION[1]}/wcwidth.c src/
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ TERMUX_PKG_BREAKS="libgc-dev"
|
|||
TERMUX_PKG_REPLACES="libgc-dev"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="share/gc"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
mv libatomic_ops-${TERMUX_PKG_VERSION[1]} libatomic_ops
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ TERMUX_PKG_BREAKS="libgpg-error-dev"
|
|||
TERMUX_PKG_REPLACES="libgpg-error-dev"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="share/common-lisp"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Upstream only has Android definitions for platform-specific lock objects.
|
||||
# See https://lists.gnupg.org/pipermail/gnupg-devel/2014-January/028203.html
|
||||
# for how to generate a lock-obj header file on devices.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TERMUX_PKG_HOMEPAGE=http://site.icu-project.org/home
|
||||
TERMUX_PKG_DESCRIPTION='International Components for Unicode library'
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
# We override TERMUX_PKG_SRCDIR termux_step_post_extract_package so need to do
|
||||
# We override TERMUX_PKG_SRCDIR termux_step_post_get_source so need to do
|
||||
# this hack to be able to find the license file.
|
||||
TERMUX_PKG_LICENSE_FILE="../LICENSE"
|
||||
# Function `icu::number::FormattedNumber::getAllFieldPositions` was removed
|
||||
|
@ -17,6 +17,6 @@ TERMUX_PKG_HOSTBUILD=true
|
|||
TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS="--disable-samples --disable-tests"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-samples --disable-tests --with-cross-build=$TERMUX_PKG_HOSTBUILD_DIR"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
TERMUX_PKG_SRCDIR+="/source"
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ TERMUX_PKG_HAS_DEBUG=false
|
|||
# cp: cannot stat '../src/projects/openmp/runtime/exports/common.min.50.ompt.optional/include/omp.h': No such file or directory
|
||||
# common.min.50.ompt.optional should be common.deb.50.ompt.optional when doing debug build
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
if [ "$TERMUX_PKG_QUICK_REBUILD" = "false" ]; then
|
||||
mv clang-${TERMUX_PKG_VERSION}.src tools/clang
|
||||
mv clang-tools-extra-${TERMUX_PKG_VERSION}.src tools/clang/tools/extra
|
||||
|
|
|
@ -9,6 +9,6 @@ TERMUX_PKG_DEPENDS="glib, libjansson"
|
|||
TERMUX_PKG_BREAKS="libsearpc-dev"
|
||||
TERMUX_PKG_REPLACES="libsearpc-dev"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@ TERMUX_PKG_BREAKS="libzmq-dev"
|
|||
TERMUX_PKG_REPLACES="libzmq-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-libsodium --disable-libunwind --disable-Werror"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ TERMUX_PKG_RM_AFTER_INSTALL="lib/node_modules/npm/html lib/node_modules/npm/make
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_HOSTBUILD=true
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Prevent caching of host build:
|
||||
rm -Rf $TERMUX_PKG_HOSTBUILD_DIR
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ TERMUX_PKG_HOSTBUILD=true
|
|||
# collect2: error: ld returned 1 exit status
|
||||
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Prevent caching of host build:
|
||||
rm -Rf $TERMUX_PKG_HOSTBUILD_DIR
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
|||
TERMUX_MAKE_PROCESSES=1
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="bin/perl${TERMUX_PKG_VERSION}"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
# Certain packages are not safe to build on device because their
|
||||
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
||||
if $TERMUX_ON_DEVICE_BUILD; then
|
||||
|
|
|
@ -13,6 +13,6 @@ TERMUX_PKG_DEPENDS="libpng, littlecms, zlib"
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sse"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
mv $TERMUX_PKG_SRCDIR/libimagequant-$TERMUX_PKG_VERSION/* $TERMUX_PKG_SRCDIR/lib/
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ SWIFT_BUILD_FLAGS="$SWIFT_ANDROID_NDK_FLAGS --build-toolchain-only
|
|||
--build-swift-dynamic-stdlib=0 --build-swift-dynamic-sdk-overlay=0"
|
||||
fi
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
if [ "$TERMUX_PKG_QUICK_REBUILD" = "false" ]; then
|
||||
# The Swift build-script requires a particular organization of source directories,
|
||||
# which the following sets up.
|
||||
|
|
|
@ -10,7 +10,7 @@ TERMUX_PKG_SHA256=(6199304fc9697a2eb78c542357aec984924bc2ecad90f3bedf1f6299fe345
|
|||
c37f52fc39c62b3391a0eae061cef2c4079dfd4af0e3bdabac1be98316f9c451)
|
||||
TERMUX_PKG_DEPENDS="libandroid-glob, libc++"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
rmdir src/libshared
|
||||
mv libshared-${_LIBSHARED_COMMIT}/ src/libshared
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_file__dev_ptmx=no"
|
|||
TERMUX_PKG_DEPENDS="pcre, libgnutls, zlib"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
TERMUX_PKG_SRCDIR+="/src"
|
||||
TERMUX_PKG_BUILDDIR="$TERMUX_PKG_SRCDIR"
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ TERMUX_PKG_SHA256=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b3
|
|||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-conf=$TERMUX_PREFIX/etc/tsocks.conf"
|
||||
|
||||
termux_step_post_extract_package() {
|
||||
termux_step_post_get_source() {
|
||||
cp $TERMUX_PKG_SRCDIR/tsocks-1.8/* $TERMUX_PKG_SRCDIR/
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue