wok rev 21307

updated libssh and libssh-dev (0.7.5 -> 0.8.7)
author Hans-G?nter Theisgen
date Thu Apr 18 15:10:53 2019 +0100 (2019-04-18)
parents 21b978d46460
children 44d014d36fd6
files libssh-dev/receipt libssh/receipt
line diff
     1.1 --- a/libssh-dev/receipt	Thu Apr 18 14:49:19 2019 +0100
     1.2 +++ b/libssh-dev/receipt	Thu Apr 18 15:10:53 2019 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libssh-dev"
     1.7 -VERSION="0.7.5"
     1.8 +VERSION="0.8.7"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="devel files for libssh"
    1.11 +SHORT_DESC="Development files for libssh."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.libssh.org/"
    1.15 +WEB_SITE="https://www.libssh.org/"
    1.16 +
    1.17  WANTED="libssh"
    1.18 -
    1.19  DEPENDS="libssh pkg-config"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.30  }
     2.1 --- a/libssh/receipt	Thu Apr 18 14:49:19 2019 +0100
     2.2 +++ b/libssh/receipt	Thu Apr 18 15:10:53 2019 +0100
     2.3 @@ -1,28 +1,29 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libssh"
     2.7 -VERSION="0.7.5"
     2.8 +VERSION="0.8.7"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Library for accessing ssh client services through C libraries"
    2.11 +SHORT_DESC="Library for accessing ssh client services through C libraries."
    2.12  MAINTAINER="slaxemulator@gmail.com"
    2.13  LICENSE="LGPL2.1"
    2.14 +WEB_SITE="https://www.libssh.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.17 -WEB_SITE="http://www.libssh.org/"
    2.18 -WGET_URL="https://red.libssh.org/attachments/download/195/$TARBALL"
    2.19 +WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
    2.20  TAGS="ssh"
    2.21  
    2.22  DEPENDS="libssl"
    2.23 -BUILD_DEPENDS="cmake openssl-dev wget"
    2.24 +BUILD_DEPENDS="cmake openssl-dev"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29  	mkdir build
    2.30  	cd build
    2.31 -	cmake ../ \
    2.32 -		-DCMAKE_INSTALL_PREFIX=/usr \
    2.33 -		-DCMAKE_BUILD_TYPE=Release
    2.34 -	make
    2.35 +	cmake ../				\
    2.36 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    2.37 +		-DCMAKE_BUILD_TYPE=Release &&
    2.38 +	make -j 1 &&
    2.39  	make DESTDIR=$DESTDIR install
    2.40  }
    2.41