Welcome to little lamb

Code » limb » commit a512b51

meta/deps: Update skalibs

author Olivier Brunel
2023-07-13 11:18:05 UTC
committer Olivier Brunel
2023-07-24 10:16:43 UTC
parent ab44d52073cd7668c67f9a376d728c71080d5b73

meta/deps: Update skalibs

meta/deps/skalibs/get_vpath +8 -0
meta/deps/skalibs/git +1 -1
meta/deps/skalibs/is_found +4 -0
meta/deps/skalibs/make +7 -0
meta/deps/skalibs/ref +1 -0
meta/deps/skalibs/version +1 -1

diff --git a/meta/deps/skalibs/get_vpath b/meta/deps/skalibs/get_vpath
new file mode 100755
index 0000000..da80629
--- /dev/null
+++ b/meta/deps/skalibs/get_vpath
@@ -0,0 +1,8 @@
+#!/bin/sh
+type=$1
+libdir=$2
+if test "$type" = "shared"; then
+    echo $libdir
+else
+    echo $libdir/skalibs
+fi
diff --git a/meta/deps/skalibs/git b/meta/deps/skalibs/git
index 5965139..1d48368 100644
--- a/meta/deps/skalibs/git
+++ b/meta/deps/skalibs/git
@@ -1 +1 @@
-git://lila.oss/skalibs.git
+git://git.skarnet.org/skalibs
diff --git a/meta/deps/skalibs/is_found b/meta/deps/skalibs/is_found
new file mode 100755
index 0000000..c2181e0
--- /dev/null
+++ b/meta/deps/skalibs/is_found
@@ -0,0 +1,4 @@
+#!/bin/sh
+libdir=$1
+test -e "$libdir/libskarnet.a" || test -e "$libdir/skalibs/libskarnet.a" \
+    || test -e "$libdir/libskarnet.so"
diff --git a/meta/deps/skalibs/make b/meta/deps/skalibs/make
new file mode 100755
index 0000000..daafcc9
--- /dev/null
+++ b/meta/deps/skalibs/make
@@ -0,0 +1,7 @@
+#!/bin/sh
+if test -e libskarnet.so; then rm libskarnet.so; fi
+if test -e libskarnet.a; then rm libskarnet.a; fi
+if make; then
+    if test -e libskarnet.so.xyzzy; then ln -s libskarnet.so.xyzzy libskarnet.so; fi
+    if test -e libskarnet.a.xyzzy; then ln -s libskarnet.a.xyzzy libskarnet.a; fi
+fi
diff --git a/meta/deps/skalibs/ref b/meta/deps/skalibs/ref
new file mode 100644
index 0000000..65a4d13
--- /dev/null
+++ b/meta/deps/skalibs/ref
@@ -0,0 +1 @@
+v2.13.1.1
diff --git a/meta/deps/skalibs/version b/meta/deps/skalibs/version
index ef9d112..739323d 100644
--- a/meta/deps/skalibs/version
+++ b/meta/deps/skalibs/version
@@ -1 +1 @@
-2.12.0.0
+2.13.1.1