*/build.sh: Remove individual `*-config` hack
which can be handled in `termux_step_configure_autotools`. %ci:no-build
This commit is contained in:
parent
8a854165d3
commit
c7db3e8e6d
|
@ -18,17 +18,4 @@ termux_step_pre_configure() {
|
|||
export COB_LI_IS_LL="${lp64}"
|
||||
export COB_32_BIT_LONG="$(( 1 - ${lp64} ))"
|
||||
export COB_HAS_64_BIT_POINTER="${lp64}"
|
||||
|
||||
local bin="$TERMUX_PKG_BUILDDIR/bin"
|
||||
local sh="$(command -v sh)"
|
||||
mkdir -p "$bin"
|
||||
for p in xml2; do
|
||||
local conf="$bin/${p}-config"
|
||||
cat > "$conf" <<-EOF
|
||||
#!${sh}
|
||||
exec sh "$TERMUX_PREFIX/bin/${p}-config" "\$@"
|
||||
EOF
|
||||
chmod 0700 "$conf"
|
||||
done
|
||||
export PATH="$bin":$PATH
|
||||
}
|
||||
|
|
|
@ -51,14 +51,6 @@ termux_step_pre_configure() {
|
|||
EOF
|
||||
chmod 0700 "$wrapper"
|
||||
done
|
||||
for p in gnustep; do
|
||||
local conf="$bin/${p}-config"
|
||||
cat > "$conf" <<-EOF
|
||||
#!${sh}
|
||||
exec sh "$TERMUX_PREFIX/bin/${p}-config" "\$@"
|
||||
EOF
|
||||
chmod 0700 "$conf"
|
||||
done
|
||||
export PATH="$bin":$PATH
|
||||
|
||||
rm -f cross.config
|
||||
|
|
|
@ -13,18 +13,3 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
--with-icu-config=icu-config
|
||||
--with-yajl=$TERMUX_PREFIX
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
local bin="$TERMUX_PKG_BUILDDIR/bin"
|
||||
local sh="$(command -v sh)"
|
||||
mkdir -p "$bin"
|
||||
for p in curl icu xml2 xslt; do
|
||||
local conf="$bin/${p}-config"
|
||||
cat > "$conf" <<-EOF
|
||||
#!${sh}
|
||||
exec sh "$TERMUX_PREFIX/bin/${p}-config" "\$@"
|
||||
EOF
|
||||
chmod 0700 "$conf"
|
||||
done
|
||||
export PATH="$bin":$PATH
|
||||
}
|
||||
|
|
|
@ -8,18 +8,3 @@ TERMUX_PKG_SRCURL=http://download.librdf.org/source/rasqal-${TERMUX_PKG_VERSION}
|
|||
TERMUX_PKG_SHA256=6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c
|
||||
TERMUX_PKG_DEPENDS="libgmp, libmhash, libraptor2, libuuid, pcre"
|
||||
TERMUX_PKG_BUILD_DEPENDS="libxml2"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
local bin="$TERMUX_PKG_BUILDDIR/bin"
|
||||
local sh="$(command -v sh)"
|
||||
mkdir -p "$bin"
|
||||
for p in pcre xml2; do
|
||||
local conf="$bin/${p}-config"
|
||||
cat > "$conf" <<-EOF
|
||||
#!${sh}
|
||||
exec sh "$TERMUX_PREFIX/bin/${p}-config" "\$@"
|
||||
EOF
|
||||
chmod 0700 "$conf"
|
||||
done
|
||||
export PATH="$bin":$PATH
|
||||
}
|
||||
|
|
|
@ -24,20 +24,13 @@ NOGITHUB=1
|
|||
"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="etc/security etc/udev"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
local bin="$TERMUX_PKG_BUILDDIR/_wrapper/bin"
|
||||
local sh="$(command -v sh)"
|
||||
mkdir -p "$bin"
|
||||
for p in curl; do
|
||||
local conf="$bin/${p}-config"
|
||||
cat > "$conf" <<-EOF
|
||||
#!${sh}
|
||||
exec sh "$TERMUX_PREFIX/bin/${p}-config" "\$@"
|
||||
EOF
|
||||
chmod 0700 "$conf"
|
||||
done
|
||||
export PATH="$bin":$PATH
|
||||
termux_step_post_get_source() {
|
||||
# Needs to call `termux_step_configure_autotools` for `*-config` hack.
|
||||
touch configure
|
||||
chmod u+x configure
|
||||
}
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CXXFLAGS+=" -fno-strict-aliasing"
|
||||
LDFLAGS+=" -landroid-glob"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue