wok-next view libnsl/receipt @ rev 21362
iptraf: new WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 13 08:05:00 2020 +0100 (2020-04-13) |
parents | d5aab818505e |
children |
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/svn/basicnet/libnsl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL"
14 TARBALL_SHA1="f141c7cf0ff96d96e369dda36af8ed19af0fc3ca"
16 BUILD_DEPENDS="automake gettext-dev libtool libtirpc-dev rpcsvc-proto"
17 SPLIT="$PACKAGE-dev"
19 DEPENDS_std="libtirpc"
20 DEPENDS_dev="$PACKAGE libtirpc-dev"
22 compile_rules() {
23 autoreconf -fi &&
24 ./configure \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 mkdir -p $install/lib
32 mv $install/usr/lib/libnsl.so.2* $install/lib
33 ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so
34 }