wok-next diff libssh/receipt @ rev 20917
freetype: return freetype-config back
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 11:44:50 2018 +0300 (2018-08-21) |
parents | e6615350078d |
children | d5aab818505e |
line diff
1.1 --- a/libssh/receipt Wed Feb 28 16:28:07 2018 +0200 1.2 +++ b/libssh/receipt Tue Aug 21 11:44:50 2018 +0300 1.3 @@ -7,37 +7,35 @@ 1.4 MAINTAINER="slaxemulator@gmail.com" 1.5 LICENSE="LGPL2.1" 1.6 WEB_SITE="http://www.libssh.org/" 1.7 -TAGS="ssh" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.10 WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL" 1.11 TARBALL_MD5="d3fc864208bf607ad87cdee836894feb" 1.12 1.13 -BUILD_DEPENDS="cmake zlib-dev openssl-dev" 1.14 +BUILD_DEPENDS="cmake zlib-dev libgcrypt-dev" # or openssl-dev (currently broken) 1.15 SPLIT="libssh-dev" 1.16 1.17 -# Rules to configure and make the package. 1.18 -compile_rules() 1.19 -{ 1.20 +compile_rules() { 1.21 mkdir build 1.22 cd build 1.23 cmake \ 1.24 -DCMAKE_INSTALL_PREFIX=/usr \ 1.25 -DCMAKE_BUILD_TYPE=Release \ 1.26 + -DWITH_GSSAPI=OFF \ 1.27 + -DWITH_GCRYPT=ON \ 1.28 .. && 1.29 make && 1.30 make install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 case $PACKAGE in 1.38 libssh) 1.39 copy @std 1.40 - DEPENDS="openssl zlib" 1.41 + DEPENDS="libgcrypt zlib" # or openssl 1.42 + TAGS="ssh" 1.43 ;; 1.44 - libssh-dev) 1.45 + *-dev) 1.46 copy @dev 1.47 ;; 1.48 esac