mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
32 lines
588 B
Plaintext
Executable File
32 lines
588 B
Plaintext
Executable File
# description : The Bourne-Again SHell
|
|
# depends : ncurses readline
|
|
|
|
name=bash
|
|
version=5.2.21
|
|
majver=${version%%.*}
|
|
basever=${version%.*}
|
|
patchver=${version##*.}
|
|
release=1
|
|
source="https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
|
|
bashrc profile"
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-curses \
|
|
--enable-readline \
|
|
--without-bash-malloc \
|
|
--with-installed-readline
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/bin
|
|
mv $PKG/usr/bin/bash $PKG/bin
|
|
|
|
install -d $PKG/etc
|
|
install -m644 $SRC/bashrc $PKG/etc
|
|
install -m644 $SRC/profile $PKG/etc
|
|
}
|