wok-next view libssh/receipt @ rev 18704
liblo-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 12:27:46 2015 +0100 (2015-12-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 }