milis/talimatname/temel/bash/talimat

27 lines
641 B
Plaintext

# Description: The Bash package contains the Bourne-Again SHell.
# Maintainers: Brian Fox,Chet Ramey and many more
# Packager: milisarge@gmail.com
name=bash
version=4.3.30
release=3
source=(http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-2.patch)
build()
{
cd bash-$version
patch -Np1 -i ../$name-$version-upstream_fixes-2.patch
./configure --prefix=/usr --bindir=/bin \
--htmldir=/usr/share/doc/bash-$version --without-bash-malloc \
--with-installed-readline
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
ln -s bash $PKG/bin/sh
}