wok-next diff libssh/receipt @ rev 20043

gdb: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 21:23:15 2017 +0200 (2017-10-22)
parents b4200e26ba1c
children e6615350078d
line diff
     1.1 --- a/libssh/receipt	Mon Mar 07 11:12:17 2016 +0100
     1.2 +++ b/libssh/receipt	Sun Oct 22 21:23:15 2017 +0200
     1.3 @@ -1,34 +1,44 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libssh"
     1.8 -VERSION="0.7.3"
     1.9 +VERSION="0.7.5"
    1.10  CATEGORY="network"
    1.11 -SHORT_DESC="Library for accessing ssh client services through C libraries"
    1.12 +SHORT_DESC="Library for accessing SSH client services through C libraries"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="LGPL2.1"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WEB_SITE="http://www.libssh.org/"
    1.17 -WGET_URL="https://red.libssh.org/attachments/download/195/$TARBALL"
    1.18  TAGS="ssh"
    1.19  
    1.20 -DEPENDS="libssl"
    1.21 -BUILD_DEPENDS="cmake openssl-dev wget"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL"
    1.24 +TARBALL_MD5="d3fc864208bf607ad87cdee836894feb"
    1.25 +
    1.26 +BUILD_DEPENDS="cmake zlib-dev openssl-dev"
    1.27 +SPLIT="libssh-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	mkdir build
    1.33  	cd build
    1.34 -	cmake ../ \
    1.35 +	cmake \
    1.36  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.37 -		-DCMAKE_BUILD_TYPE=Release
    1.38 -	make
    1.39 -	make DESTDIR=$DESTDIR install
    1.40 +		-DCMAKE_BUILD_TYPE=Release \
    1.41 +		.. &&
    1.42 +	make &&
    1.43 +	make install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr/lib
    1.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 +	case $PACKAGE in
    1.52 +		libssh)
    1.53 +			copy @std
    1.54 +			DEPENDS="libcrypto zlib"
    1.55 +			;;
    1.56 +		libssh-dev)
    1.57 +			copy @dev
    1.58 +			;;
    1.59 +	esac
    1.60  }