From 8fd4943b2721696f86783d22dd2e8d593a22a766 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Jun 2023 15:25:11 +0200 Subject: libc: stub out sltar's requirements --- ports/sltar | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ports/sltar (limited to 'ports') 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 -- cgit v1.2.3