diff options
author | dzwdz | 2023-06-02 15:25:11 +0200 |
---|---|---|
committer | dzwdz | 2023-06-02 15:25:11 +0200 |
commit | 8fd4943b2721696f86783d22dd2e8d593a22a766 (patch) | |
tree | 2e2e664605571a07688021339a6be0f395bc62c2 /ports/sltar | |
parent | 51c39c73692e755596eafb0d6f732581fee3ba98 (diff) |
libc: stub out sltar's requirements
Diffstat (limited to 'ports/sltar')
-rw-r--r-- | ports/sltar | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports/sltar b/ports/sltar new file mode 100644 index 0000000..3a9f559 --- /dev/null +++ b/ports/sltar @@ -0,0 +1,19 @@ +set -eu +camellia_path_check + +fetch() { + git clone https://github.com/Gottox/sltar + cd sltar + git -c advice.detachedHead=false checkout 8b5dae8e7f39401255176f806358dd04453d7831 +} + +prep() { + [ -d sltar ] || (fetch) + cd sltar +} + +case $1 in + install) (prep; make CC=x86_64-camellia-gcc "INCS=" "LIBS=" && make install "PREFIX=$PREFIX") ;; + clean) (prep; make clean) ;; + *) echo "usage: $0 install|clean"; false ;; +esac |