wok diff libssh/receipt @ rev 22986

cookutils: add check-wok
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 01 12:47:04 2020 +0100 (2020-03-01)
parents 86790a278e70
children 09c1c92bad93
line diff
     1.1 --- a/libssh/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/libssh/receipt	Sun Mar 01 12:47:04 2020 +0100
     1.3 @@ -1,28 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libssh"
     1.7 -VERSION="0.7.5"
     1.8 +VERSION="0.8.7"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Library for accessing ssh client services through C libraries"
    1.11 +SHORT_DESC="Library for accessing ssh client services through C libraries."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 +WEB_SITE="https://www.libssh.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WEB_SITE="http://www.libssh.org/"
    1.18 -WGET_URL="https://red.libssh.org/attachments/download/195/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
    1.20  TAGS="ssh"
    1.21  
    1.22  DEPENDS="libssl"
    1.23 -BUILD_DEPENDS="cmake openssl-dev wget"
    1.24 +BUILD_DEPENDS="cmake openssl-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	mkdir build
    1.30  	cd build
    1.31 -	cmake ../ \
    1.32 -		-DCMAKE_INSTALL_PREFIX=/usr \
    1.33 -		-DCMAKE_BUILD_TYPE=Release
    1.34 -	make
    1.35 +	cmake ../				\
    1.36 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.37 +		-DCMAKE_BUILD_TYPE=Release &&
    1.38 +	make -j 1 &&
    1.39  	make DESTDIR=$DESTDIR install
    1.40  }
    1.41