1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +00:00

Ports/oksh: Update oksh to version 7.1

This commit is contained in:
EWouters 2022-06-03 18:52:21 +02:00 committed by Linus Groh
parent efa9b7d9a1
commit a25ab52ee7
2 changed files with 9 additions and 11 deletions

View file

@ -1,20 +1,18 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=oksh
useconfigure=true
version=7.0
port='oksh'
version='7.1'
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064"
auth_type='sha256'
useconfigure='true'
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"
export LDFLAGS='-lncurses'
configure() {
export CFLAGS=""
export LDFLAGS="-lncurses"
run ./configure --no-thanks
}
install() {
run cp oksh "${SERENITY_INSTALL_ROOT}/bin"
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
run cp oksh "${SERENITY_INSTALL_ROOT}/usr/local/bin"
}