wok-6.x view libssh/receipt @ rev 14652
Add licenses, just for the seed (for example). Anyone can delete this.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 04 22:20:53 2013 +0000 (2013-06-04) |
parents | 697fd27f725e |
children | 6eff489aa802 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libssh"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Library for accessing ssh client services through C libraries"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libssl"
9 BUILD_DEPENDS="cmake openssl-dev wget"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libssh.org/"
12 WGET_URL="https://red.libssh.org/attachments/download/27/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir build
19 cd build
20 cmake ../ \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=Release
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }