wok-next view libnsl/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }