wok-current view libssh2/receipt @ rev 17665
attr: /lib moved to /usr/lib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 15:16:45 2015 +0100 (2015-02-15) |
parents | |
children | 1313ac757600 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh2"
4 VERSION="1.4.3"
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }