wok-next rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents eda4a33d17fb
children 672406e5f118
files libcups/receipt libssh2-dev/receipt libssh2/receipt
line diff
     1.1 --- a/libcups/receipt	Wed Jan 21 12:25:55 2015 +0100
     1.2 +++ b/libcups/receipt	Wed Jan 21 17:12:27 2015 +0100
     1.3 @@ -6,19 +6,15 @@
     1.4  SHORT_DESC="Common UNIX Printing System."
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="GPL2 LGPL2"
     1.7 -TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
     1.8  WEB_SITE="http://www.cups.org/"
     1.9  WANTED="cups"
    1.10  TAGS="printer printing"
    1.11  
    1.12  DEPENDS="libssl"
    1.13 -BUILD_DEPENDS=""
    1.14 -
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p  $fs/usr/lib
    1.20 -	
    1.21 +	mkdir -p $fs/usr/lib
    1.22  	cp -a $install/usr/lib/libcups.so* $fs/usr/lib
    1.23  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libssh2-dev/receipt	Wed Jan 21 17:12:27 2015 +0100
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libssh2-dev"
     2.7 +VERSION="1.4.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="A client-side C library implementing the SSH2 protocol, development files"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="BSD"
    2.12 +WEB_SITE="http://www.libssh2.org/"
    2.13 +WANTED="libssh2"
    2.14 +
    2.15 +DEPENDS="libssh2"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib
    2.21 +	cp -a $install/usr/include $fs/usr
    2.22 +	cp -a $install/usr/lib/*a $fs/usr/lib
    2.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.24 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libssh2/receipt	Wed Jan 21 17:12:27 2015 +0100
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libssh2"
     3.7 +VERSION="1.4.3"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="A client-side C library implementing the SSH2 protocol"
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="BSD"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.libssh2.org/"
    3.14 +WGET_URL="$WEB_SITE/download/$TARBALL"
    3.15 +
    3.16 +DEPENDS="libgcrypt zlib libgpg-error"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	./configure --prefix=/usr \
    3.22 +		--mandir=/usr/share/man \
    3.23 +		$CONFIGURE_ARGS &&
    3.24 +	make &&
    3.25 +	make DESTDIR=$DESTDIR install
    3.26 +}
    3.27 +
    3.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.29 +genpkg_rules()
    3.30 +{
    3.31 +	mkdir -p $fs/usr/lib
    3.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.33 +}