2022-02-11 18:26:00 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-08-12 13:37:21 +03:00
|
|
|
port='citron'
|
|
|
|
version='0.0.9.3'
|
|
|
|
useconfigure='false'
|
|
|
|
depends=(
|
|
|
|
'libffi'
|
|
|
|
'pcre'
|
|
|
|
'sparsehash'
|
|
|
|
)
|
2023-08-16 20:19:10 +03:00
|
|
|
commit_hash='c0bafa246bb2282125858da54e084c8085288d5c'
|
|
|
|
archive_hash='f4d77cc8f70a59a4d495fbf0cfc8a9654742817f87c50f5b0e46eef54b5413f7'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz#$archive_hash"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2022-02-13 16:36:03 +03:00
|
|
|
workdir="citron-$commit_hash"
|
2023-08-16 08:00:31 +03:00
|
|
|
export enable_boehm_gc=false
|
|
|
|
export enable_inject=false
|
|
|
|
export use_libbsd=false
|
|
|
|
export use_openmp=false
|
2022-02-11 18:26:00 +03:00
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
pushd "$workdir"
|
|
|
|
if [ -d Library/.git ]; then
|
|
|
|
git -C Library pull
|
|
|
|
else
|
|
|
|
rm -fr Library
|
|
|
|
git clone http://github.com/alimpfard/citron_standard_library Library
|
|
|
|
fi
|
|
|
|
popd
|
|
|
|
}
|