Commit | Line | Data |
---|---|---|
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 | ||
7 | name=bash | |
eb79808e | 8 | version=4.4 |
21a7237e | 9 | release=1 |
aa6f6132 | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \ |
eb79808e | 11 | profile) |
21a7237e VM |
12 | |
13 | build() { | |
aa6f6132 | 14 | cd $name-${version:0:3} |
21a7237e | 15 | |
21a7237e VM |
16 | ./configure --prefix=/usr \ |
17 | --build=arm-unknown-linux-gnueabihf \ | |
18 | --exec-prefix= \ | |
21a7237e VM |
19 | --disable-nls \ |
20 | --with-curses \ | |
21 | --with-installed-readline | |
22 | make -j1 | |
23 | ||
24 | install -D -m 755 bash $PKG/bin/bash | |
ee1dc8fa | 25 | install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1 |
21a7237e | 26 | install -D -m 644 $SRC/profile $PKG/etc/profile |
21a7237e | 27 | } |