summaryrefslogtreecommitdiff
path: root/bash/Pkgfile
blob: f69d407f56adacf5e2e5d1940cd00bd55a440ff5 (plain)
    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 # Depends on:  readline
    5 
    6 name=bash
    7 version=4.4.12
    8 release=1
    9 source=(http://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 --prefix=/usr \
   18                 --exec-prefix= \
   19                 --disable-nls \
   20                 --with-curses \
   21                 --with-installed-readline
   22     make -j1
   23 
   24     install -D -m 755 bash $PKG/bin/bash
   25     install -D -m 644 doc/bash.1 $PKG/usr/share/man/man1/bash.1
   26     install -D -m 644 $SRC/profile $PKG/etc/profile
   27 }

Generated by cgit