2007-03-26 17:38:16 +02:00
|
|
|
# Description: An sh-compatible command language interpreter
|
2006-02-23 15:26:10 +00:00
|
|
|
# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: ncurses
|
|
|
|
|
|
|
|
name=bash
|
2007-03-26 17:38:16 +02:00
|
|
|
version=3.2.15
|
2007-03-06 17:29:08 +01:00
|
|
|
release=1
|
2006-11-18 18:46:34 +01:00
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-3.2.tar.gz \
|
2007-03-26 17:38:16 +02:00
|
|
|
$name-3.2-001-015.patch \
|
2007-03-06 17:29:08 +01:00
|
|
|
$name-3.2-doc.patch \
|
|
|
|
profile)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2006-11-18 18:46:34 +01:00
|
|
|
cd $name-3.2
|
2007-03-26 17:38:16 +02:00
|
|
|
|
|
|
|
patch -p0 < $SRC/$name-3.2-001-015.patch
|
2006-11-18 18:46:34 +01:00
|
|
|
patch -p1 < $SRC/$name-3.2-doc.patch
|
2007-03-26 17:38:16 +02:00
|
|
|
|
|
|
|
touch configure
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2007-03-06 17:29:08 +01:00
|
|
|
--exec-prefix= \
|
2007-03-26 17:38:16 +02:00
|
|
|
--mandir=/usr/man \
|
2007-03-06 17:29:08 +01:00
|
|
|
--disable-nls
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-03-26 17:38:16 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
rm -rf $PKG/usr/info $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
|
2006-12-25 17:28:46 +01:00
|
|
|
install -D -m 644 $SRC/profile $PKG/etc/profile
|
2006-02-23 15:26:10 +00:00
|
|
|
ln -sf bash $PKG/bin/sh
|
|
|
|
ln -sf bash.1 $PKG/usr/man/man1/sh.1
|
|
|
|
}
|