2007-03-26 17:38:16 +02:00
|
|
|
# Description: An sh-compatible command language interpreter
|
2021-05-04 18:27:43 +02:00
|
|
|
# URL: https://tiswww.case.edu/php/chet/bash/bashtop.html
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: readline
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=bash
|
2022-01-06 12:08:54 +01:00
|
|
|
version=5.1.16
|
2022-08-02 21:48:51 +02:00
|
|
|
release=3
|
2021-12-13 12:26:25 +01:00
|
|
|
source=(https://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz
|
2021-05-04 18:27:43 +02:00
|
|
|
$name-$version.patch.gz profile)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-05-04 18:27:43 +02:00
|
|
|
cd $name-${version:0:3}
|
2017-02-15 18:56:58 +01:00
|
|
|
|
2021-05-04 18:27:43 +02:00
|
|
|
gunzip -c $SRC/$name-$version.patch.gz | patch -p0
|
2020-12-20 12:41:24 +01:00
|
|
|
|
2021-05-04 18:27:43 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix= \
|
|
|
|
--disable-nls \
|
|
|
|
--with-curses \
|
|
|
|
--with-installed-readline
|
|
|
|
make -j1
|
2007-03-26 17:38:16 +02:00
|
|
|
|
2021-05-04 18:27:43 +02:00
|
|
|
install -D -m 755 bash $PKG/bin/bash
|
|
|
|
install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
|
|
|
|
install -D -m 644 $SRC/profile $PKG/etc/profile
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|