summaryrefslogtreecommitdiff
path: root/repo/system/nsss.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
commite8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch)
tree8ec5946d18961404efb12700267e10cffffa6db7 /repo/system/nsss.xibuild
parent79c82d8fc0a4f6618429a0373bb832afd105543e (diff)
made packages work with musl
Diffstat (limited to 'repo/system/nsss.xibuild')
-rw-r--r--repo/system/nsss.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/system/nsss.xibuild b/repo/system/nsss.xibuild
new file mode 100644
index 0000000..dc3fb07
--- /dev/null
+++ b/repo/system/nsss.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="skalibs"
+
+PKG_VER=0.2.0.1
+
+SOURCE=https://skarnet.org/software/nsss/nsss-$PKG_VER.tar.gz
+
+DESC="Minimal competing implementation of glibc's Name Switch Service"
+
+build () {
+ ./configure --prefix=/usr \
+ --exec-prefix=/usr \
+ --with-dynlib=/usr/lib \
+ --libexecdir=/usr/lib/nsss \
+ --libdir=/usr/lib \
+ --with-dynlib=/usr/lib \
+ --enable-shared \
+ --static-static
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+}