wok-next diff libnsl/receipt @ rev 20750
consolekit2, esound, fuse-emulator, glib, gstreamer1: update bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 01 11:43:22 2018 +0300 (2018-06-01) |
parents | |
children | f48456621a9d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libnsl/receipt Fri Jun 01 11:43:22 2018 +0300 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libnsl" 1.7 +VERSION="1.2.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Public client interface for NIS(YP) and NIS+" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="LGPL2.1" 1.12 +WEB_SITE="https://github.com/thkukuk/libnsl/" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libnsl.html" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="automake gettext libtool libtirpc-dev rpcsvc-proto" 1.19 +SPLIT="libnsl-dev" 1.20 + 1.21 +compile_rules() { 1.22 + autoreconf -fi && 1.23 + ./configure $CONFIGURE_ARGS && 1.24 + fix libtool && 1.25 + make && 1.26 + make install || return 1 1.27 + 1.28 + mkdir -p $install/lib 1.29 + mv $install/usr/lib/libnsl.so.2* $install/lib 1.30 + ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so 1.31 +} 1.32 + 1.33 +genpkg_rules() { 1.34 + case $PACKAGE in 1.35 + libnsl) 1.36 + copy @std 1.37 + DEPENDS="libtirpc" 1.38 + ;; 1.39 + *-dev) 1.40 + copy @dev 1.41 + DEPENDS="libnsl libtirpc-dev" 1.42 + ;; 1.43 + esac 1.44 +}