wok-next diff libssh2/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents f8a9cafe8cb1
children 9278a60d6895
line diff
     1.1 --- a/libssh2/receipt	Fri Oct 14 18:55:24 2016 +0200
     1.2 +++ b/libssh2/receipt	Sat May 13 17:25:31 2017 +0300
     1.3 @@ -1,31 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libssh2"
     1.7 -VERSION="1.7.0"
     1.8 +VERSION="1.8.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A client-side C library implementing the SSH2 protocol"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://www.libssh2.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.libssh2.org/"
    1.17 -WGET_URL="$WEB_SITE/download/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.19  
    1.20 -DEPENDS="libgcrypt zlib libgpg-error"
    1.21 -BUILD_DEPENDS="libgcrypt-dev zlib-dev"
    1.22 +DEPENDS="libssl libcrypto zlib"
    1.23 +BUILD_DEPENDS="openssl-dev zlib-dev"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./configure --prefix=/usr \
    1.29 -		--mandir=/usr/share/man \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 -	make &&
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	./configure $CONFIGURE_ARGS && make && make install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/lib
    1.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.41 +	cook_copy_files *.so*
    1.42  }