wok-stable diff libssh/receipt @ rev 11727

Move from undigest: python-antlr python-caldav python-gdata python-vatnumber python-vobject python-webdav python-xlwt python-zsi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 09:18:42 2012 +0100 (2012-02-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libssh/receipt	Tue Feb 21 09:18:42 2012 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libssh"
     1.7 +VERSION="0.4.8"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Library for accessing ssh client services through C libraries"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="libssl"
    1.12 +BUILD_DEPENDS="cmake openssl-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.libssh.org/"
    1.15 +WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	mkdir build
    1.22 +	cd build
    1.23 +	cmake ../ \
    1.24 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.25 +		-DCMAKE_BUILD_TYPE=Release
    1.26 +	make
    1.27 +	make DESTDIR=$PWD/../_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.35 +}
    1.36 +