wok-6.x view libssh/receipt @ rev 21627
updated opencsg and opencsg-dev (1.4.0 -> 1.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 27 17:32:03 2019 +0100 (2019-05-27) |
parents | 86790a278e70 |
children | 09c1c92bad93 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.8.7"
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 WEB_SITE="https://www.libssh.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
13 TAGS="ssh"
15 DEPENDS="libssl"
16 BUILD_DEPENDS="cmake openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake ../ \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DCMAKE_BUILD_TYPE=Release &&
26 make -j 1 &&
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 }