summaryrefslogtreecommitdiff
path: root/repo/system/libtirpc.xibuild
blob: ec4f3b97d1ee73bdade9ee8ca04676d8d062249c (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 queue-standalone"
DEPS="krb5"

PKG_VER=1.3.2
SOURCE=https://downloads.sourceforge.net/libtirpc/libtirpc-$PKG_VER.tar.bz2
DESC="Transport Independent RPC library (SunRPC replacement)"

ADDITIONAL="
https://git.alpinelinux.org/aports/plain/main/libtirpc/soname-suffix.patch
"

prepare () {
    apply_patches
    autoreconf -fi
}

build () {
    ./configure --prefix=/usr                                   \
            --sysconfdir=/etc                               \
            --disable-static                                
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
}