~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl: Update to 5.22
[termux-packages]
/
packages
/
busybox
/
build.sh
diff --git
a/packages/busybox/build.sh
b/packages/busybox/build.sh
index
5374a51
..
ddd2863
100755
(executable)
--- a/
packages/busybox/build.sh
+++ b/
packages/busybox/build.sh
@@
-2,6
+2,7
@@
TERMUX_PKG_HOMEPAGE=http://www.busybox.net/
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_VERSION=1.23.2
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_VERSION=1.23.2
+TERMUX_PKG_BUILD_REVISION=6
TERMUX_PKG_SRCURL=http://www.busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_SRCURL=http://www.busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_BUILD_IN_SRC=yes
@@
-32,10
+33,15
@@
termux_step_post_make_install () {
cd $TERMUX_PREFIX/bin
rm -f ash
cd $TERMUX_PREFIX/bin
rm -f ash
- ln busybox ash
+ ln
-s
busybox ash
# Install busybox man page
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/docs/busybox.1 $TERMUX_PREFIX/share/man/man1
# Install busybox man page
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/docs/busybox.1 $TERMUX_PREFIX/share/man/man1
+
+ # Needed for 'crontab -e' to work out of the box:
+ local _CRONTABS=$TERMUX_PREFIX/var/spool/cron/crontabs
+ mkdir -p $_CRONTABS
+ echo "Used by the busybox crontab and crond tools" > $_CRONTABS/README.termux
}
}