summaryrefslogtreecommitdiff
path: root/bash/Pkgfile
blob: d263530afcc5ccd1ec6f9c64514c965d64c74ab9 (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
    5 
    6 name=bash
    7 version=3.2.39
    8 release=1
    9 source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \
   10         $name-3.2-001-039.patch \
   11         $name-3.2-doc.patch \
   12         profile)
   13 
   14 build() {
   15     cd $name-3.2
   16 
   17     patch -p0 < $SRC/$name-3.2-001-039.patch
   18     patch -p1 < $SRC/$name-3.2-doc.patch
   19 
   20     touch configure
   21     ./configure --prefix=/usr \
   22                 --exec-prefix= \
   23                 --mandir=/usr/man \
   24                 --disable-nls \
   25                 --with-curses 
   26     make -j1
   27     make DESTDIR=$PKG install
   28 
   29     rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
   30     install -D -m 644 $SRC/profile $PKG/etc/profile
   31     ln -sf bash $PKG/bin/sh
   32     ln -sf bash.1 $PKG/usr/man/man1/sh.1
   33 }

Generated by cgit