diff options
Diffstat (limited to 'repo/musl-nscd/musl-nscd.xibuild')
-rw-r--r-- | repo/musl-nscd/musl-nscd.xibuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/musl-nscd/musl-nscd.xibuild b/repo/musl-nscd/musl-nscd.xibuild new file mode 100644 index 0000000..0ad276b --- /dev/null +++ b/repo/musl-nscd/musl-nscd.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="musl-nscd" +DESC="Implementation of nscd for nsswitch modules for musl" + +MAKEDEPS="bison flex" + +PKG_VER=1.1.1 +SOURCE="https://github.com/pikhq/musl-nscd/archive/v$PKG_VER.tar.gz" + +ADDITIONAL=" +musl-nscd.initd +" + +build() { + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$PKG_DEST" install + + install -m644 -D COPYRIGHT \ + "$PKG_DEST"/usr/share/licenses/musl-nscd/COPYRIGHT + + install -m755 -D "$BUILD_ROOT"/musl-nscd.initd \ + "$PKG_DEST"/etc/init.d/nscd +} + |