wok-next view libssh/receipt @ rev 20453

Undo openssl split
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 16:28:07 2018 +0200 (2018-02-28)
parents 9278a60d6895
children b19ddba309f9
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="openssl zlib"
39 ;;
40 libssh-dev)
41 copy @dev
42 ;;
43 esac
44 }