wok-6.x annotate libssh2/receipt @ rev 20245
Add dciutil
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 18:59:00 2018 +0100 (2018-03-10) |
parents | 186a8b6ac51e |
children | a78610b2eb47 |
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@17533 | 10 WEB_SITE="http://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 } |