wok-6.x annotate libssh/receipt @ rev 23103

updated libssh and libssh-dev (0.8.7 -> 0.9.3)
author Hans-G?nter Theisgen
date Thu Mar 12 11:22:59 2020 +0100 (2020-03-12)
parents c37502c14e80
children 35292b022843
rev   line source
slaxemulator@8145 1 # SliTaz package receipt.
slaxemulator@8145 2
slaxemulator@8145 3 PACKAGE="libssh"
Hans-G?nter@23103 4 VERSION="0.9.3"
slaxemulator@8145 5 CATEGORY="network"
Hans-G?nter@23103 6 TAGS="ssh"
Hans-G?nter@21307 7 SHORT_DESC="Library for accessing ssh client services through C libraries."
slaxemulator@8145 8 MAINTAINER="slaxemulator@gmail.com"
pascal@14996 9 LICENSE="LGPL2.1"
Hans-G?nter@21307 10 WEB_SITE="https://www.libssh.org/"
Hans-G?nter@21307 11
pascal@18051 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21307 13 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL"
slaxemulator@8145 14
pascal@14718 15 DEPENDS="libssl"
Hans-G?nter@21307 16 BUILD_DEPENDS="cmake openssl-dev"
pascal@14718 17
slaxemulator@8145 18 # Rules to configure and make the package.
slaxemulator@8145 19 compile_rules()
slaxemulator@8145 20 {
slaxemulator@8145 21 mkdir build
slaxemulator@8145 22 cd build
Hans-G?nter@21307 23 cmake ../ \
Hans-G?nter@21307 24 -DCMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@21307 25 -DCMAKE_BUILD_TYPE=Release &&
Hans-G?nter@21307 26 make -j 1 &&
slaxemulator@12387 27 make DESTDIR=$DESTDIR install
slaxemulator@8145 28 }
slaxemulator@8145 29
slaxemulator@8145 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8145 31 genpkg_rules()
slaxemulator@8145 32 {
slaxemulator@8145 33 mkdir -p $fs/usr/lib
Hans-G?nter@23103 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@8145 35 }