CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
db: added overlayed port
[ports/pine64-arm.git] / bash / Pkgfile
CommitLineData
eba836c3
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
8version=4.3.42
9release=1
10source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
11 $name-$version.patch.gz profile)
12
13build() {
14 cd $name-${version:0:3}
15
16 gunzip -c $SRC/$name-$version.patch.gz | patch -p0
17
18 ./configure --prefix=/usr \
19 --build=aarch64-unknown-linux-gnueabi \
20 --exec-prefix= \
21 --disable-nls \
22 --with-curses \
23 --with-installed-readline
24 make -j1
25
26 install -D -m 755 bash $PKG/bin/bash
27 install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
28 install -D -m 644 $SRC/profile $PKG/etc/profile
29}