wok-next view libnsl/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnsl"
4 VERSION="1.2.0"
5 CATEGORY="network"
6 SHORT_DESC="Public client interface for NIS(YP) and NIS+"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/thkukuk/libnsl/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libnsl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="automake gettext libtool libtirpc-dev rpcsvc-proto"
16 SPLIT="libnsl-dev"
18 compile_rules() {
19 autoreconf -fi &&
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 mkdir -p $install/lib
26 mv $install/usr/lib/libnsl.so.2* $install/lib
27 ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libnsl)
33 copy @std
34 DEPENDS="libtirpc"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libnsl libtirpc-dev"
39 ;;
40 esac
41 }