summaryrefslogtreecommitdiff
path: root/repo/system/nsss.xibuild
blob: 2623641815399c8da1c99e3b3e0c82f9063438fb (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
#!/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

}