summary refs log tree commit diff
path: root/def/a
diff options
context:
space:
mode:
Diffstat (limited to 'def/a')
-rw-r--r--def/a/s6-update-symlinks23
1 files changed, 23 insertions, 0 deletions
diff --git a/def/a/s6-update-symlinks b/def/a/s6-update-symlinks
new file mode 100644
index 0000000..9ea7500
--- /dev/null
+++ b/def/a/s6-update-symlinks
@@ -0,0 +1,23 @@
+pkgname=s6-update-symlinks
+version=2.2.2.1
+distfiles="https://skarnet.org/software/s6-portable-utils/s6-portable-utils-${version}.tar.gz
+ https://skarnet.org/software/skalibs/skalibs-2.9.1.0.tar.gz
+"
+
+do_configure() {
+  :
+}
+do_build() {
+  (
+  cd ../skalibs-*
+  ./configure
+  make
+  )
+
+  ${CC} -static -o s6-update-symlinks src/skaembutils/s6-update-symlinks.c \
+    ${CFLAGS} -I ../skalibs-*/src/include ../skalibs-2.9.1.0/libskarnet.a.xyzzy
+}
+do_install() {
+  mkdir -p ${DESTDIR}/usr/bin
+  cp s6-update-symlinks ${DESTDIR}/usr/bin
+}