wok-next annotate libnsl/receipt @ rev 20621

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