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 | |
61713a37 | 8 | version=4.2.42 |
21a7237e | 9 | release=1 |
aa6f6132 | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \ |
21a7237e VM |
11 | $name-$version.patch.gz profile) |
12 | ||
13 | build() { | |
aa6f6132 | 14 | cd $name-${version:0:3} |
21a7237e VM |
15 | |
16 | gunzip -c $SRC/$name-$version.patch.gz | patch -p0 | |
17 | ||
18 | ./configure --prefix=/usr \ | |
19 | --build=arm-unknown-linux-gnueabihf \ | |
20 | --exec-prefix= \ | |
21 | --mandir=/usr/man \ | |
22 | --disable-nls \ | |
23 | --with-curses \ | |
24 | --with-installed-readline | |
25 | make -j1 | |
26 | ||
27 | install -D -m 755 bash $PKG/bin/bash | |
28 | install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1 | |
29 | install -D -m 644 $SRC/profile $PKG/etc/profile | |
30 | ||
31 | ln -s bash $PKG/bin/sh | |
32 | ln -s bash.1 $PKG/usr/man/man1/sh.1 | |
33 | } |