mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
f318ab6bed
Fixes #5710.
18 lines
756 B
Bash
Executable File
18 lines
756 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=tinyscheme
|
|
version=1.42
|
|
files="https://downloads.sourceforge.net/project/tinyscheme/tinyscheme/tinyscheme-${version}/tinyscheme-${version}.tar.gz tinyscheme-${version}.tar.gz 273ac5ffe5305986b329e9045f2aea89"
|
|
|
|
useconfigure=false
|
|
|
|
build() {
|
|
run make scheme CC="i686-pc-serenity-gcc -fpic -pedantic" SYS_LIBS= FEATURES='-DUSE_NO_FEATURES=1 -DInitFile=\"/usr/local/include/tinyscheme/init.scm\"'
|
|
}
|
|
|
|
install() {
|
|
run mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/local/bin"
|
|
run cp scheme "${SERENITY_BUILD_DIR}/Root/usr/local/bin/tinyscheme"
|
|
run mkdir -p "${SERENITY_BUILD_DIR}/Root/usr/local/include/tinyscheme"
|
|
run cp init.scm "${SERENITY_BUILD_DIR}/Root/usr/local/include/tinyscheme/init.scm"
|
|
}
|