summaryrefslogtreecommitdiff
path: root/bash/Pkgfile
blob: 7837250d64558b4e208b59cd0f58e04acd11a7df (plain)
    1 # Description: An sh-compatible command language interpreter
    2 # URL: https://tiswww.case.edu/php/chet/bash/bashtop.html
    3 # Maintainer: CRUX System Team, core-ports at crux dot nu
    4 # Depends on: readline
    5 
    6 name=bash
    7 version=5.2.15
    8 release=1
    9 source=(https://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz
   10 	$name-$version.patch.gz profile)
   11 
   12 build() {
   13 	cd $name-${version:0:3}
   14 
   15 	gunzip -c $SRC/$name-$version.patch.gz | patch -p0
   16 
   17 	./configure \
   18 		--prefix=/usr \
   19 		--exec-prefix= \
   20 		--disable-nls \
   21 		--with-curses \
   22 		--with-installed-readline
   23 	make -j1
   24 
   25 	install -D -m 755 bash $PKG/bin/bash
   26 	install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
   27 	install -D -m 644 $SRC/profile $PKG/etc/profile
   28 }

Generated by cgit