wok-current view libssh2/receipt @ rev 20373

gcc??-lib-base: restore previous libgcc_s.so.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 10 15:08:22 2018 +0200 (2018-06-10)
parents 186a8b6ac51e
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh2"
4 VERSION="1.8.0"
5 CATEGORY="network"
6 SHORT_DESC="A client-side C library implementing the SSH2 protocol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libssh2.org/"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
13 DEPENDS="libgcrypt zlib libgpg-error libssl"
14 BUILD_DEPENDS="libgcrypt-dev zlib-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }