wok diff libssh/receipt @ rev 8642

Up: newt to 0.52.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 18:00:32 2011 +0000 (2011-02-15)
parents
children 697fd27f725e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libssh/receipt	Tue Feb 15 18:00:32 2011 +0000
     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 +