wok-next annotate libssh/receipt @ rev 20612
Up autofs (5.1.4), c-ares, curl (7.58.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 23:07:29 2018 +0300 (2018-04-19) |
parents | e6615350078d |
children | d5aab818505e |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
al@19741 | 4 VERSION="0.7.5" |
slaxemulator@8145 | 5 CATEGORY="network" |
al@19741 | 6 SHORT_DESC="Library for accessing SSH client services through C libraries" |
slaxemulator@8145 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@8145 | 9 WEB_SITE="http://www.libssh.org/" |
slaxemulator@8145 | 10 |
al@19741 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19741 | 12 WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL" |
al@19741 | 13 TARBALL_MD5="d3fc864208bf607ad87cdee836894feb" |
al@19741 | 14 |
al@20519 | 15 BUILD_DEPENDS="cmake zlib-dev libgcrypt-dev" # or openssl-dev (currently broken) |
al@19741 | 16 SPLIT="libssh-dev" |
pascal@14718 | 17 |
al@20519 | 18 compile_rules() { |
slaxemulator@8145 | 19 mkdir build |
slaxemulator@8145 | 20 cd build |
al@19741 | 21 cmake \ |
slaxemulator@8145 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19741 | 23 -DCMAKE_BUILD_TYPE=Release \ |
al@20519 | 24 -DWITH_GSSAPI=OFF \ |
al@20519 | 25 -DWITH_GCRYPT=ON \ |
al@19741 | 26 .. && |
al@19741 | 27 make && |
al@19741 | 28 make install |
slaxemulator@8145 | 29 } |
slaxemulator@8145 | 30 |
al@20519 | 31 genpkg_rules() { |
al@19741 | 32 case $PACKAGE in |
al@19741 | 33 libssh) |
al@19741 | 34 copy @std |
al@20519 | 35 DEPENDS="libgcrypt zlib" # or openssl |
al@20519 | 36 TAGS="ssh" |
al@19741 | 37 ;; |
al@20519 | 38 *-dev) |
al@19741 | 39 copy @dev |
al@19741 | 40 ;; |
al@19741 | 41 esac |
slaxemulator@8145 | 42 } |