kiss-mfavila-small/ports/unofficial/stable/chicken-scheme/build

11 lines
271 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
# Parallel make isn't supported yet.
2021-06-06 18:36:04 -04:00
export MAKEFLAGS='-j1'
2021-05-09 02:10:08 -04:00
2021-06-06 18:36:04 -04:00
make PLATFORM=linux PREFIX="$1" STATICBUILD=1
make PLATFORM=linux PREFIX="$1" STATICBUILD=1 install
mkdir -p "$1/usr/share"
mv "$1/share/chicken" "$1/usr/share/"
mv "$1/share/man" "$1/usr/share/"