wok-next diff libnsl/receipt @ rev 21257
encfs: use cmake
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 13:47:57 2019 +0100 (2019-12-06) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/libnsl/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/libnsl/receipt Fri Dec 06 13:47:57 2019 +0100 1.3 @@ -11,13 +11,19 @@ 1.4 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WGET_URL="https://github.com/thkukuk/libnsl/archive/v$VERSION/$TARBALL" 1.7 +TARBALL_SHA1="f141c7cf0ff96d96e369dda36af8ed19af0fc3ca" 1.8 1.9 BUILD_DEPENDS="automake gettext-dev libtool libtirpc-dev rpcsvc-proto" 1.10 SPLIT="$PACKAGE-dev" 1.11 1.12 +DEPENDS_std="libtirpc" 1.13 +DEPENDS_dev="$PACKAGE libtirpc-dev" 1.14 + 1.15 compile_rules() { 1.16 autoreconf -fi && 1.17 - ./configure $CONFIGURE_ARGS && 1.18 + ./configure \ 1.19 + --disable-static \ 1.20 + $CONFIGURE_ARGS && 1.21 fix libtool && 1.22 make && 1.23 make install || return 1 1.24 @@ -26,16 +32,3 @@ 1.25 mv $install/usr/lib/libnsl.so.2* $install/lib 1.26 ln -sfv ../../lib/libnsl.so.2.0.0 $install/usr/lib/libnsl.so 1.27 } 1.28 - 1.29 -genpkg_rules() { 1.30 - case $PACKAGE in 1.31 - libnsl) 1.32 - copy @std 1.33 - DEPENDS="libtirpc" 1.34 - ;; 1.35 - *-dev) 1.36 - copy @dev 1.37 - DEPENDS="libnsl libtirpc-dev" 1.38 - ;; 1.39 - esac 1.40 -}