wok-6.x annotate libssh/receipt @ rev 22460
updated R (3.1.1 -> 3.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 27 14:20:41 2019 +0100 (2019-12-27) |
parents | 86790a278e70 |
children | 09c1c92bad93 |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
Hans-G?nter@21307 | 4 VERSION="0.8.7" |
slaxemulator@8145 | 5 CATEGORY="network" |
Hans-G?nter@21307 | 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" |
Hans-G?nter@21307 | 9 WEB_SITE="https://www.libssh.org/" |
Hans-G?nter@21307 | 10 |
pascal@18051 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@21307 | 12 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$TARBALL" |
pascal@17141 | 13 TAGS="ssh" |
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 |
pascal@14718 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8145 | 35 } |