33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
#!/bin/sh
|
|
name="bash"
|
|
short_desc="Bourne Again Shell"
|
|
desc="This is GNU Bash. Bash is the GNU Project's Bourne Again SHell,
|
|
a complete implementation of the POSIX.2 shell spec, but also
|
|
with interactive command line editing, job control on architectures
|
|
that support it, csh-like features such as history substitution and
|
|
brace expansion, and a slew of other features."
|
|
category="shells"
|
|
version="5.2.21"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://www.gnu.org/software/bash/"
|
|
master_site="ftp://ftp.gnu.org/gnu/bash"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv3+")
|
|
|
|
build_dependencies=("devel/ncurses" "devel/readline")
|
|
run_dependencies=("system/glibc" "devel/ncurses" "devel/readline")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr \
|
|
--without-bash-malloc \
|
|
--with-curses \
|
|
--with-installed-readline \
|
|
|| exit 1
|
|
make -j$(nproc) || exit 1
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
|
|
mkdir -p $TAMANDUA_STAGE_DIR/bin
|
|
ln -sv /usr/bin/bash $TAMANDUA_STAGE_DIR/bin/bash
|
|
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
|
|
} |