core/bash/Pkgfile

29 lines
708 B
Plaintext
Raw Normal View History

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-11-09 09:57:50 +01:00
version=5.2.9
2022-09-29 15:12:47 +02:00
release=1
2021-12-13 12:26:25 +01:00
source=(https://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz
2022-10-07 12:58:26 +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
2022-10-07 12:58:26 +02:00
gunzip -c $SRC/$name-$version.patch.gz | patch -p0
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
}