summaryrefslogtreecommitdiff
path: root/repo/libtirpc/libtirpc.xibuild
blob: 0b5ad5199d86103799fb97527c38563d68ebd179 (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.3
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 
}