mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
16 lines
571 B
Bash
Executable file
16 lines
571 B
Bash
Executable file
#!/bin/bash ../.port_include.sh
|
|
port=sl
|
|
version=git
|
|
workdir=sl-master
|
|
files="https://github.com/mtoyoda/sl/archive/master.tar.gz sl-git.tar.gz"
|
|
depends="ncurses"
|
|
|
|
build() {
|
|
run ${CC} -I${SERENITY_ROOT}/Root/usr/local/include/ncurses -L${SERENITY_ROOT}/Root/usr/local/lib -o sl sl.c -lncurses -ltinfo
|
|
}
|
|
|
|
post_install() {
|
|
# Dirty hack that seems to be necessary to make ncurses play nice
|
|
mkdir -p ${SERENITY_ROOT}/Root/usr/local/share/terminfo/x
|
|
cp ${SERENITY_ROOT}/Root/usr/local/share/terminfo/78/xterm ${SERENITY_ROOT}/Root/usr/local/share/terminfo/x/
|
|
}
|