blob: 0ad276b45046c3d0ce3005980b8d852816687b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}
|