Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/ |
2 | TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh" | |
3 | TERMUX_PKG_VERSION=0.5.8 | |
4 | TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz | |
5 | ||
6 | CFLAGS+=" -DAT_EACCESS=0x200" | |
7 | ||
8 | termux_step_post_make_install () { | |
9 | # Symlink sh -> dash | |
10 | rm -f $TERMUX_PREFIX/bin/sh $TERMUX_PREFIX/share/man/man1/sh.1 | |
11 | cd $TERMUX_PREFIX/bin | |
12 | ln -s dash sh | |
13 | cd $TERMUX_PREFIX/share/man/man1 | |
14 | ln -s dash.1 sh.1 | |
15 | } |