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
|
2010-06-03 10:27:14 +00:00
|
|
|
# Depends on: ncurses readline
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=bash
|
2014-09-28 16:02:30 +02:00
|
|
|
version=4.3.27
|
|
|
|
release=1
|
2012-09-19 08:01:39 -05:00
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz \
|
2014-09-28 16:02:30 +02:00
|
|
|
$name-$version.patch.gz profile)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2012-09-19 08:01:39 -05:00
|
|
|
cd $name-${version:0:3}
|
2007-04-28 09:08:09 +02:00
|
|
|
|
2014-03-31 19:52:02 +02:00
|
|
|
gunzip -c $SRC/$name-$version.patch.gz | patch -p0
|
2014-09-26 17:40:59 +02:00
|
|
|
|
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-08-23 10:36:39 +02:00
|
|
|
--disable-nls \
|
2010-06-03 10:27:14 +00:00
|
|
|
--with-curses \
|
|
|
|
--with-installed-readline
|
2010-05-16 20:14:05 +02:00
|
|
|
make -j1
|
2007-03-26 17:38:16 +02:00
|
|
|
|
2009-05-04 18:33:23 +02:00
|
|
|
install -D -m 755 bash $PKG/bin/bash
|
|
|
|
install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1
|
2006-12-25 17:28:46 +01:00
|
|
|
install -D -m 644 $SRC/profile $PKG/etc/profile
|
2009-05-04 18:33:23 +02:00
|
|
|
|
|
|
|
ln -s bash $PKG/bin/sh
|
|
|
|
ln -s bash.1 $PKG/usr/man/man1/sh.1
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|