wok-next annotate libtirpc/receipt @ rev 20957
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 15:26:05 2018 +0300 (2018-09-05) |
parents | e7a485521d6a |
children | d5aab818505e |
rev | line source |
---|---|
al@20445 | 1 # SliTaz package receipt v2. |
pascal@6249 | 2 |
pascal@6249 | 3 PACKAGE="libtirpc" |
al@20905 | 4 VERSION="1.0.3" |
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@20906 | 9 WEB_SITE="https://sourceforge.net/projects/libtirpc/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 ./configure \ |
al@20905 | 19 --sysconfdir=/etc \ |
al@20445 | 20 --disable-static \ |
al@20445 | 21 --disable-gssapi \ |
al@20445 | 22 $CONFIGURE_ARGS && |
al@20905 | 23 make && make install || return 1 |
al@20445 | 24 |
al@20445 | 25 mkdir -p $install/lib |
al@20445 | 26 mv -v $install/usr/lib/libtirpc.so.* $install/lib |
al@20445 | 27 ln -sfv ../../lib/$(readlink $install/lib/libtirpc.so.3) $install/usr/lib/libtirpc.so |
pascal@6249 | 28 } |
pascal@6249 | 29 |
al@20445 | 30 genpkg_rules() { |
al@20445 | 31 case $PACKAGE in |
al@20445 | 32 libtirpc) copy @std;; |
al@20445 | 33 *-dev) copy @dev;; |
al@20445 | 34 esac |
pascal@6249 | 35 } |