wok annotate libssh/receipt @ rev 20487
Up perl-dbi-dbd (1.641)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:22:35 2018 +0200 (2018-10-26) |
parents | b4200e26ba1c |
children | c37502c14e80 |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
pascal@20421 | 4 VERSION="0.7.5" |
slaxemulator@8145 | 5 CATEGORY="network" |
slaxemulator@8145 | 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" |
pascal@18051 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@8145 | 10 WEB_SITE="http://www.libssh.org/" |
pascal@18952 | 11 WGET_URL="https://red.libssh.org/attachments/download/195/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
slaxemulator@8145 | 13 |
pascal@14718 | 14 DEPENDS="libssl" |
pascal@14718 | 15 BUILD_DEPENDS="cmake openssl-dev wget" |
pascal@14718 | 16 |
slaxemulator@8145 | 17 # Rules to configure and make the package. |
slaxemulator@8145 | 18 compile_rules() |
slaxemulator@8145 | 19 { |
slaxemulator@8145 | 20 mkdir build |
slaxemulator@8145 | 21 cd build |
slaxemulator@8145 | 22 cmake ../ \ |
slaxemulator@8145 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@8145 | 24 -DCMAKE_BUILD_TYPE=Release |
slaxemulator@8145 | 25 make |
slaxemulator@12387 | 26 make DESTDIR=$DESTDIR install |
slaxemulator@8145 | 27 } |
slaxemulator@8145 | 28 |
slaxemulator@8145 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8145 | 30 genpkg_rules() |
slaxemulator@8145 | 31 { |
slaxemulator@8145 | 32 mkdir -p $fs/usr/lib |
pascal@14718 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8145 | 34 } |