mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
18249b5996
Much redundancy is removed from package scripts with this system. It also supports simple dependency management, uninstalling (through BSD ports style plist files), cleaning up after itself (with clean, clean_dist, clean_all commands), etc.
12 lines
400 B
Bash
Executable file
12 lines
400 B
Bash
Executable file
#!/bin/bash ../.port_include.sh
|
|
port=bash
|
|
version=5.0
|
|
useconfigure=true
|
|
configopts="--disable-nls --without-bash-malloc"
|
|
files="https://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz bash-5.0.tar.gz"
|
|
|
|
build() {
|
|
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h
|
|
run_replace_in_file "s/define CAN_REDEFINE_GETENV 1/undef CAN_REDEFINE_GETENV/" config.h
|
|
run make $makeopts
|
|
}
|