summaryrefslogtreecommitdiff
path: root/bash/Pkgfile
blob: 5095b2164fcaa0d4a4db2ccd99c565eda78084d0 (plain)
    1 # Description: An sh-compatible command language interpreter.
    2 # URL:         http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
    3 # Maintainer:  Per Lidén, core-ports at crux dot nu
    4 # Depends on:  ncurses
    5 
    6 name=bash
    7 version=3.2.9
    8 release=1
    9 source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \
   10         $name-3.2-001-009.patch \
   11 	$name-3.2-doc.patch \
   12 	profile)
   13 
   14 build() {
   15     cd $name-3.2
   16     patch -p0 < $SRC/$name-3.2-001-009.patch
   17     patch -p1 < $SRC/$name-3.2-doc.patch
   18     ./configure --prefix=/usr \
   19 		--exec-prefix= \
   20 		--disable-nls
   21     make
   22     make DESTDIR=$PKG install
   23     rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
   24     install -D -m 644 $SRC/profile $PKG/etc/profile
   25     ln -sf bash $PKG/bin/sh
   26     ln -sf bash.1 $PKG/usr/man/man1/sh.1
   27 }

Generated by cgit