CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: updated to 4.4.12
[ports/core-arm.git] / bash / Pkgfile
CommitLineData
21a7237e
VM
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, devel at crux-arm dot nu
5# Depends on: ncurses readline
6
7name=bash
92ffd97c 8version=4.4.12
21a7237e 9release=1
aa6f6132 10source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
92ffd97c 11 $name-$version.patch.gz profile)
21a7237e
VM
12
13build() {
aa6f6132 14 cd $name-${version:0:3}
21a7237e 15
92ffd97c
VM
16 gunzip -c $SRC/$name-$version.patch.gz | patch -p0
17
21a7237e
VM
18 ./configure --prefix=/usr \
19 --build=arm-unknown-linux-gnueabihf \
20 --exec-prefix= \
21a7237e
VM
21 --disable-nls \
22 --with-curses \
23 --with-installed-readline
24 make -j1
25
26 install -D -m 755 bash $PKG/bin/bash
ee1dc8fa 27 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
21a7237e 28 install -D -m 644 $SRC/profile $PKG/etc/profile
21a7237e 29}