wok-next view libtirpc/receipt @ rev 20506
zerobin: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 12:28:31 2018 +0100 (2018-03-16) |
parents | ac2ee8823dfa |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtirpc"
4 VERSION="1.0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Transport-Independent RPC library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://libtirpc.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libtirpc.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="libtirpc-dev"
17 compile_rules() {
18 # Fix a build issue with glibc-2.26:
19 sed -i '/stdlib.h/a#include <stdint.h>' src/xdr_sizeof.c
21 # Fix a symbol name needed by NIS libraries:
22 sed -i '/key_secret_is/s|secret|secretkey|' src/libtirpc.map
24 ./configure \
25 --sysconfdir=/etc \
26 --disable-static \
27 --disable-gssapi \
28 $CONFIGURE_ARGS &&
29 make && make install || return 1
31 mkdir -p $install/lib
32 mv -v $install/usr/lib/libtirpc.so.* $install/lib
33 ln -sfv ../../lib/$(readlink $install/lib/libtirpc.so.3) $install/usr/lib/libtirpc.so
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libtirpc) copy @std;;
39 *-dev) copy @dev;;
40 esac
41 }