mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
05cb72e2c3
This port has been broken since the introduction of `sys_signame` (which was almost 3 months ago), as oksh provided a conflicting definition for it. This commit also cleans up some of the patches, defining the appropriate config macro instead of commenting out code. When I opened this program's GitHub releases page, I noticed that a new version was available, so I also did the update.
21 lines
563 B
Bash
Executable File
21 lines
563 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=oksh
|
|
useconfigure=true
|
|
version=7.0
|
|
depends=("ncurses")
|
|
workdir=oksh-${version}
|
|
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1"
|
|
auth_type=sha256
|
|
|
|
export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"
|
|
|
|
configure() {
|
|
export CFLAGS=""
|
|
export LDFLAGS="-lncurses"
|
|
run ./configure --no-thanks
|
|
}
|
|
|
|
install() {
|
|
run cp oksh "${SERENITY_INSTALL_ROOT}/bin"
|
|
}
|