Welcome to little lamb

Code » limb » commit 2c5b228

Update to latest comain

author Olivier Brunel
2023-05-23 17:40:22 UTC
committer Olivier Brunel
2023-07-05 07:39:26 UTC
parent 12db21ebe7638d1494df8f13ec9618f32a09864f

Update to latest comain

meta/deps/skalibs/configure +1 -0
meta/deps/skalibs/get_incdir +5 -0
meta/deps/skalibs/get_version +12 -1
meta/deps/skalibs/incdir +0 -1
meta/deps/skalibs/include +0 -0
meta/deps/skalibs/libdir +0 -1

diff --git a/meta/deps/skalibs/configure b/meta/deps/skalibs/configure
new file mode 100644
index 0000000..5d55893
--- /dev/null
+++ b/meta/deps/skalibs/configure
@@ -0,0 +1 @@
+--disable-shared
diff --git a/meta/deps/skalibs/get_incdir b/meta/deps/skalibs/get_incdir
new file mode 100755
index 0000000..70d97d5
--- /dev/null
+++ b/meta/deps/skalibs/get_incdir
@@ -0,0 +1,5 @@
+#!/bin/sh
+isint=$1
+if test $isint -eq 1; then
+    echo src/include
+fi
diff --git a/meta/deps/skalibs/get_version b/meta/deps/skalibs/get_version
index 55041f5..3bc6399 100755
--- a/meta/deps/skalibs/get_version
+++ b/meta/deps/skalibs/get_version
@@ -1,2 +1,13 @@
 #!/bin/sh
-grep SKALIBS_VERSION "$@/skalibs/config.h" | cut -d\" -f2
+isint=$1
+intdir=$2
+libdir=$3
+incdir=$4
+
+if test $isint -eq 1; then
+    d="$intdir/src/include"
+else
+    d="$incdir"
+fi
+
+grep SKALIBS_VERSION "$d/skalibs/config.h" | cut -d\" -f2
diff --git a/meta/deps/skalibs/incdir b/meta/deps/skalibs/incdir
deleted file mode 100644
index e4484e2..0000000
--- a/meta/deps/skalibs/incdir
+++ /dev/null
@@ -1 +0,0 @@
-src/include
diff --git a/meta/deps/skalibs/include b/meta/deps/skalibs/include
deleted file mode 100644
index e69de29..0000000
diff --git a/meta/deps/skalibs/libdir b/meta/deps/skalibs/libdir
deleted file mode 100644
index 5baacc7..0000000
--- a/meta/deps/skalibs/libdir
+++ /dev/null
@@ -1 +0,0 @@
-skalibs