wok-next annotate libssh2/receipt @ rev 18653
Add drakon-editor
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 15:42:05 2015 +0100 (2015-12-02) |
parents | 1313ac757600 |
children | f8a9cafe8cb1 |
rev | line source |
---|---|
pascal@17533 | 1 # SliTaz package receipt. |
pascal@17533 | 2 |
pascal@17533 | 3 PACKAGE="libssh2" |
pascal@18052 | 4 VERSION="1.5.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@17533 | 13 DEPENDS="libgcrypt zlib libgpg-error" |
pascal@17717 | 14 BUILD_DEPENDS="libgcrypt-dev zlib-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 } |