wok view libssh/receipt @ rev 17504

le: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 08 11:25:22 2015 +0100 (2015-01-08)
parents 76b72f1ad63c
children 33e5fb8a4dcb
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="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libssh.org/"
11 WGET_URL="https://red.libssh.org/attachments/download/27/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="libssl"
15 BUILD_DEPENDS="cmake openssl-dev wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir build
22 cd build
23 cmake ../ \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_BUILD_TYPE=Release
26 make
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }