wok-next view libnsl/receipt @ rev 21085

Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 25 19:30:28 2018 +0200 (2018-12-25)
parents f48456621a9d
children 23982d05637c
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"
15 BUILD_DEPENDS="automake gettext-dev libtool libtirpc-dev rpcsvc-proto"
16 SPLIT="$PACKAGE-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 }