wok annotate libssh2/receipt @ rev 21207
Up pure-ftpd (1.0.48)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 08 19:08:56 2019 +0200 (2019-04-08) |
parents | 22244c3bcd35 |
children | 67692aafbf59 |
rev | line source |
---|---|
pascal@17533 | 1 # SliTaz package receipt. |
pascal@17533 | 2 |
pascal@17533 | 3 PACKAGE="libssh2" |
pascal@19626 | 4 VERSION="1.8.0" |
pascal@17533 | 5 CATEGORY="network" |
pascal@17533 | 6 SHORT_DESC="A client-side C library implementing the SSH2 protocol" |
pascal@17533 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17533 | 8 LICENSE="BSD" |
pascal@17533 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://www.libssh2.org/" |
pascal@17533 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
pascal@17533 | 12 |
pascal@19627 | 13 DEPENDS="libgcrypt zlib libgpg-error libssl" |
pascal@19627 | 14 BUILD_DEPENDS="libgcrypt-dev zlib-dev openssl-dev" |
pascal@17533 | 15 |
pascal@17533 | 16 # Rules to configure and make the package. |
pascal@17533 | 17 compile_rules() |
pascal@17533 | 18 { |
pascal@17533 | 19 ./configure --prefix=/usr \ |
pascal@17533 | 20 --mandir=/usr/share/man \ |
pascal@17533 | 21 $CONFIGURE_ARGS && |
pascal@17533 | 22 make && |
pascal@17533 | 23 make DESTDIR=$DESTDIR install |
pascal@17533 | 24 } |
pascal@17533 | 25 |
pascal@17533 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17533 | 27 genpkg_rules() |
pascal@17533 | 28 { |
pascal@17533 | 29 mkdir -p $fs/usr/lib |
pascal@17533 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17533 | 31 } |