wok-current view libssh/receipt @ rev 23835

Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 09:34:18 2020 +0000 (2020-06-01)
parents 09c1c92bad93
children ede1d184d5c5
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.9.4"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="Library for accessing ssh client services through C libraries."
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.libssh.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
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 }