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