wok-next view libssh/receipt @ rev 19810
Up atm-tools, audiofile, audit, avfs, c_icap, xz.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 19 14:10:52 2017 +0300 (2017-07-19) |
parents | b4200e26ba1c |
children | e6615350078d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libssh"
4 VERSION="0.7.5"
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="http://www.libssh.org/"
10 TAGS="ssh"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL"
14 TARBALL_MD5="d3fc864208bf607ad87cdee836894feb"
16 BUILD_DEPENDS="cmake zlib-dev openssl-dev"
17 SPLIT="libssh-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build
23 cd build
24 cmake \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCMAKE_BUILD_TYPE=Release \
27 .. &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 libssh)
37 copy @std
38 DEPENDS="libcrypto zlib"
39 ;;
40 libssh-dev)
41 copy @dev
42 ;;
43 esac
44 }