wok-next annotate libtirpc/receipt @ rev 20790

1. update also pinentry-gtk to new version 2. add to both fltk-dev so fltk-config is found 3. I want to force also a build to see if it really builds OKish here (see wok-build)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 11:23:42 2018 +0000 (2018-06-09)
parents 757d032c55c7
children e7a485521d6a
rev   line source
al@20445 1 # SliTaz package receipt v2.
pascal@6249 2
pascal@6249 3 PACKAGE="libtirpc"
al@20445 4 VERSION="1.0.2"
pascal@6249 5 CATEGORY="system-tools"
al@20445 6 SHORT_DESC="Transport-Independent RPC library"
pascal@6249 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 8 LICENSE="BSD"
al@20445 9 WEB_SITE="http://libtirpc.sourceforge.net/"
al@20445 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libtirpc.html"
al@20445 11
pascal@6249 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@6249 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@6249 14
al@20445 15 SPLIT="libtirpc-dev"
al@20445 16
al@20445 17 compile_rules() {
al@20445 18 # Fix a build issue with glibc-2.26:
al@20445 19 sed -i '/stdlib.h/a#include <stdint.h>' src/xdr_sizeof.c
al@20445 20
al@20445 21 # Fix a symbol name needed by NIS libraries:
al@20445 22 sed -i '/key_secret_is/s|secret|secretkey|' src/libtirpc.map
al@20445 23
al@20445 24 ./configure \
al@20445 25 --disable-static \
al@20445 26 --disable-gssapi \
al@20445 27 $CONFIGURE_ARGS &&
al@20595 28 fix libtool &&
al@20534 29 make &&
al@20534 30 make install || return 1
al@20445 31
al@20445 32 mkdir -p $install/lib
al@20445 33 mv -v $install/usr/lib/libtirpc.so.* $install/lib
al@20445 34 ln -sfv ../../lib/$(readlink $install/lib/libtirpc.so.3) $install/usr/lib/libtirpc.so
pascal@6249 35 }
pascal@6249 36
al@20445 37 genpkg_rules() {
al@20445 38 case $PACKAGE in
al@20445 39 libtirpc) copy @std;;
al@20445 40 *-dev) copy @dev;;
al@20445 41 esac
pascal@6249 42 }