mirror of
https://github.com/outbackdingo/ports.git
synced 2026-03-21 18:44:19 +00:00
28 lines
620 B
Plaintext
Executable File
28 lines
620 B
Plaintext
Executable File
# description : The Bourne-Again SHell
|
|
# homepage : https://www.gnu.org/software/bash/bash.html
|
|
# maintainer : emmett1, emmett1.2miligrams at gmail.com
|
|
# depends : ncurses readline
|
|
|
|
name=bash
|
|
version=5.0
|
|
release=1
|
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
|
md5sum=(2b44b47b905be16f45709648f671820b)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--without-bash-malloc \
|
|
--with-installed-readline \
|
|
--disable-nls
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/bin
|
|
mv $PKG/usr/bin/bash $PKG/bin
|
|
ln -s bash $PKG/bin/sh
|
|
|
|
rm -fr $PKG/usr/share/{doc,info}
|
|
}
|