wok-next annotate libssh/receipt @ rev 21596

updated dos2unix (7.4.0 -> 7.4.1)
author Hans-G?nter Theisgen
date Wed Jun 24 14:10:06 2020 +0100 (2020-06-24)
parents b19ddba309f9
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
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@21020 16 SPLIT="$PACKAGE-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 }