wok-next view libssh/receipt @ rev 18738
docbook-xsl-ns: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 23:56:28 2015 +0100 (2015-12-21) |
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 }