wok view libssh2/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 1313ac757600
children f8a9cafe8cb1
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh2"
4 VERSION="1.5.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"
14 BUILD_DEPENDS="libgcrypt-dev zlib-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 }