CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: updated to 4.1
[crossrootfs.git] / bash / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: An sh-compatible command language interpreter
2# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org
5# Depends on: ncurses
6
7name=bash
907169a1 8version=4.1
582e5de1 9release=1
907169a1 10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
6dca1d21
JB
11 profile)
12
13build() {
907169a1 14 cd $name-$version
6dca1d21 15
582e5de1 16 cat > config.cache <<EOF
6dca1d21
JB
17bash_cv_sys_named_pipes=yes
18bash_cv_job_control_missing=present
19EOF
20
21 touch configure
22 ./configure --build=$CHOST \
23 --host=$CTARGET \
24 --cache-file=config.cache \
25 --prefix=/usr \
26 --exec-prefix= \
27 --mandir=/usr/man \
28 --disable-nls \
29 --without-bash-malloc \
30 --with-curses
31 make
32 make DESTDIR=$PKG install
33
34 rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
35 install -D -m 644 $SRC/profile $PKG/etc/profile
36 ln -sf bash $PKG/bin/sh
37 ln -sf bash.1 $PKG/usr/man/man1/sh.1
38}