2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: An sh-compatible command language interpreter.
|
|
|
|
|
# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
|
2006-04-20 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
# Depends on: ncurses
|
|
|
|
|
|
|
|
|
|
name=bash
|
2006-11-18 18:46:34 +01:00
|
|
|
|
version=3.2.5
|
2006-05-26 20:44:28 +00:00
|
|
|
|
release=1
|
2006-11-18 18:46:34 +01:00
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \
|
|
|
|
|
$name-3.2-001-005.patch \
|
|
|
|
|
$name-3.2-doc.patch \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
profile)
|
|
|
|
|
|
|
|
|
|
build() {
|
2006-11-18 18:46:34 +01:00
|
|
|
|
cd $name-3.2
|
|
|
|
|
patch -p0 < $SRC/$name-3.2-001-005.patch
|
|
|
|
|
patch -p1 < $SRC/$name-3.2-doc.patch
|
2006-02-23 15:26:10 +00:00
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--exec-prefix= \
|
|
|
|
|
--disable-nls
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
|
|
|
|
|
install -D -m 644 ../profile $PKG/etc/profile
|
|
|
|
|
ln -sf bash $PKG/bin/sh
|
|
|
|
|
ln -sf bash.1 $PKG/usr/man/man1/sh.1
|
|
|
|
|
}
|