30 lines
873 B
Plaintext
30 lines
873 B
Plaintext
# Description: An sh-compatible command language interpreter.
|
|
# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
|
|
# Maintainer: Per Lidén <per@fukt.bth.se>
|
|
# Depends on: ncurses
|
|
|
|
name=bash
|
|
version=3.0
|
|
release=2
|
|
source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.gz \
|
|
$name-$version-001-016.patch \
|
|
$name-$version-doc.patch \
|
|
$name-$version-wcontinued.patch \
|
|
profile)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 < ../$name-$version-001-016.patch
|
|
patch -p1 < ../$name-$version-doc.patch
|
|
patch -p1 < ../$name-$version-wcontinued.patch
|
|
./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
|
|
}
|