mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
22 lines
383 B
Plaintext
22 lines
383 B
Plaintext
name=bash
|
|
revision=1
|
|
from_source=bash
|
|
imagedeps="base-devel"
|
|
hostdeps="xgcc xbinutils"
|
|
deps="readline mlibc"
|
|
|
|
build() {
|
|
cp -rp ${source_dir}/* .
|
|
./configure --host=x86_64-astral --prefix=${prefix} --without-bash-malloc
|
|
make -j ${parallelism}
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR=${dest_dir}
|
|
|
|
mkdir -p ${dest_dir}/bin
|
|
pushd ${dest_dir}/bin
|
|
ln -sv ${prefix}/bin/bash sh
|
|
popd
|
|
}
|