2022-03-24 15:41:48 +01:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
port='cfunge'
|
|
|
|
version='2bc4fb27ade2a816ca9a90a6d9f6958111123fa9'
|
|
|
|
useconfigure='true'
|
2023-07-10 13:10:29 +02:00
|
|
|
files=(
|
2023-09-02 06:32:27 +02:00
|
|
|
"https://github.com/VorpalBlade/cfunge/archive/${version}.zip#364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55"
|
2023-07-10 13:10:29 +02:00
|
|
|
)
|
2022-03-24 15:41:48 +01:00
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
configure() {
|
|
|
|
run cmake -B build "${configopts[@]}"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|
|
|
|
|
2022-07-08 03:44:22 +02:00
|
|
|
build() {
|
|
|
|
run make -C build "${makeopts[@]}"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2022-07-08 03:44:22 +02:00
|
|
|
run cp build/cfunge "${SERENITY_INSTALL_ROOT}/bin"
|
2022-03-24 15:41:48 +01:00
|
|
|
}
|