mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
20 lines
567 B
Bash
Executable File
20 lines
567 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=oksh
|
|
useconfigure=true
|
|
version=6.8.1
|
|
depends="ncurses"
|
|
workdir=oksh-${version}
|
|
files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz ce8b7c278e6d36bbbd7b54c218fae7ba"
|
|
auth_type=md5
|
|
|
|
configure() {
|
|
export CC=${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc
|
|
export CFLAGS=""
|
|
export LDFLAGS="-lncurses"
|
|
run ./configure --no-thanks
|
|
}
|
|
|
|
install() {
|
|
run cp oksh "${SERENITY_BUILD_DIR}/Root/bin"
|
|
}
|