wok view libssh/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents e089982c8f8d
children 76b72f1ad63c
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Library for accessing ssh client services through C libraries"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libssh.org/"
11 WGET_URL="https://red.libssh.org/attachments/download/27/$TARBALL"
13 DEPENDS="libssl"
14 BUILD_DEPENDS="cmake openssl-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir build
21 cd build
22 cmake ../ \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_BUILD_TYPE=Release
25 make
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }