wok diff libssh2/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents
children 1313ac757600
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libssh2/receipt	Wed Jan 21 17:12:27 2015 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libssh2"
     1.7 +VERSION="1.4.3"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A client-side C library implementing the SSH2 protocol"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.libssh2.org/"
    1.14 +WGET_URL="$WEB_SITE/download/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libgcrypt zlib libgpg-error"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	./configure --prefix=/usr \
    1.22 +		--mandir=/usr/share/man \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.33 +}