summaryrefslogtreecommitdiff
path: root/repo/system/libnsl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 23:01:07 +0000
commit2bda0d54b37dd3ebf7917c3a58c0404d21afe7f6 (patch)
tree36a97971d0f9c6151f36b333383bb985289f23e3 /repo/system/libnsl.xibuild
parent08c8891c20131576640f30cc40fcdbc57a497957 (diff)
shell will now default to dash asap
Diffstat (limited to 'repo/system/libnsl.xibuild')
-rw-r--r--repo/system/libnsl.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/libnsl.xibuild b/repo/system/libnsl.xibuild
new file mode 100644
index 0000000..051272b
--- /dev/null
+++ b/repo/system/libnsl.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make autoconf automake gettext libtirpc libtool"
+DEPS="libintl libtirpc musl"
+
+PKG_VER=1.2.0
+SOURCE=https://github.com/thkukuk/libnsl/archive/v$PKG_VER.tar.gz
+
+DESC="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
+
+prepare () {
+ autoreconf -vfi
+}
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}