mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 01:27:34 +00:00
Ports: Add tinyscheme 1.42 (#5387)
This commit is contained in:
parent
bafb8b0be6
commit
b07799060f
2 changed files with 18 additions and 0 deletions
17
Ports/tinyscheme/package.sh
Executable file
17
Ports/tinyscheme/package.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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_ROOT}/Build/Root/usr/local/bin"
|
||||
run cp scheme "${SERENITY_ROOT}/Build/Root/usr/local/bin/tinyscheme"
|
||||
run mkdir -p "${SERENITY_ROOT}/Build/Root/usr/local/include/tinyscheme"
|
||||
run cp init.scm "${SERENITY_ROOT}/Build/Root/usr/local/include/tinyscheme/init.scm"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue