2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-08-28 17:25:25 +02:00
|
|
|
TERMUX_PKG_VERSION=0.5.11.2
|
2020-09-28 01:33:44 +02:00
|
|
|
TERMUX_PKG_REVISION=4
|
2018-05-13 01:53:19 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz
|
2020-08-28 17:25:25 +02:00
|
|
|
TERMUX_PKG_SHA256=00fb7d68b7599cc41ab151051c06c01e9500540183d8aa72116cb9c742bd6d5f
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_ESSENTIAL=true
|
2019-08-16 02:31:14 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2020-09-28 01:33:44 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
# Prefix verification patch should be applied only for the
|
|
|
|
# builds with original prefix.
|
|
|
|
if [ "$TERMUX_PREFIX" = "/data/data/com.termux/files/usr" ]; then
|
|
|
|
patch -p1 -i $TERMUX_PKG_BUILDER_DIR/verify-prefix.patch.txt
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_make_install() {
|
2015-06-13 01:03:31 +02:00
|
|
|
# Symlink sh -> dash
|
2019-08-16 02:01:22 +02:00
|
|
|
ln -sfr $TERMUX_PREFIX/bin/{dash,sh}
|
|
|
|
ln -sfr $TERMUX_PREFIX/share/man/man1/{dash,sh}.1
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|