wok view libssh/receipt @ rev 18359

Up mosh (1.2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 12:34:55 2015 +0200 (2015-09-16)
parents f44ef80ff9e2
children b4200e26ba1c
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.7.0"
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.xz"
10 WEB_SITE="http://www.libssh.org/"
11 WGET_URL="https://red.libssh.org/attachments/download/140/$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 }