summaryrefslogtreecommitdiff
path: root/bash/Pkgfile
blob: 79bfaed0c3273b341addc63b550b85f05ec16073 (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:  ncurses readline
    5 
    6 name=bash
    7 version=4.2.39
    8 release=1
    9 source=(http://ftp.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                 --mandir=/usr/man \
   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/man/man1/bash.1
   27     install -D -m 644 $SRC/profile $PKG/etc/profile
   28 
   29     ln -s bash $PKG/bin/sh
   30     ln -s bash.1 $PKG/usr/man/man1/sh.1
   31 }

Generated by cgit