blob: 047a2b58761c440810b84928b78589bd0d351882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
name=bash
version=5.3p9
release=1
source="https://ftpmirror.gnu.org/gnu/${name}/${name}-${version%p*}.tar.gz
$(b=${version%p*}; p=${version#*p}; i=1; while [ $i -le $p ]; do
printf "https://ftpmirror.gnu.org/gnu/%s/%s-%s-patches/%s%s-%03d\n" \
"$name" "$name" "$b" "$name" "${b/./}" "$i"
i=$((i+1))
done)
bashrc"
build_opt="--without-bash-malloc --with-installed-readline"
patch_opt="-Np0"
postbuild() {
mkdir -p $PKG/bin
mv $PKG/usr/bin/bash $PKG/bin
install -d $PKG/etc
install -m644 $SRC/bashrc $PKG/etc
}
|