chroot-bash: provide /bin/sh symlink.

This commit is contained in:
Juan RP 2014-01-28 18:03:59 +01:00
parent 6b8b12f123
commit 47ca57ef93
1 changed files with 3 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'chroot-bash'.
pkgname=chroot-bash
version=4.2
revision=4
revision=5
wrksrc="bash-${version}"
build_style=gnu-configure
configure_args="--without-bash-malloc --enable-static-link
@ -22,23 +22,13 @@ homepage="http://www.gnu.org/software/bash/bash.html"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/bash/bash-${version}.tar.gz"
checksum=a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8
long_desc="
Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification."
broken_as_needed=yes
bootstrap=yes
provides="bash-4.2"
provides="bash-${version}_${revision}"
conflicts="bash>=0"
post_install() {
ln -s /bin/bash ${DESTDIR}/usr/bin/sh
rm -rf ${DESTDIR}/usr/share
}