wok-6.x annotate 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 |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
slaxemulator@12387 | 4 VERSION="0.5.2" |
slaxemulator@8145 | 5 CATEGORY="network" |
slaxemulator@8145 | 6 SHORT_DESC="Library for accessing ssh client services through C libraries" |
slaxemulator@8145 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@8145 | 8 DEPENDS="libssl" |
pascal@12390 | 9 BUILD_DEPENDS="cmake openssl-dev wget" |
slaxemulator@8145 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@8145 | 11 WEB_SITE="http://www.libssh.org/" |
slaxemulator@12387 | 12 WGET_URL="https://red.libssh.org/attachments/download/27/$TARBALL" |
slaxemulator@8145 | 13 |
slaxemulator@8145 | 14 # Rules to configure and make the package. |
slaxemulator@8145 | 15 compile_rules() |
slaxemulator@8145 | 16 { |
slaxemulator@8145 | 17 cd $src |
slaxemulator@8145 | 18 mkdir build |
slaxemulator@8145 | 19 cd build |
slaxemulator@8145 | 20 cmake ../ \ |
slaxemulator@8145 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@8145 | 22 -DCMAKE_BUILD_TYPE=Release |
slaxemulator@8145 | 23 make |
slaxemulator@12387 | 24 make DESTDIR=$DESTDIR install |
slaxemulator@8145 | 25 } |
slaxemulator@8145 | 26 |
slaxemulator@8145 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8145 | 28 genpkg_rules() |
slaxemulator@8145 | 29 { |
slaxemulator@8145 | 30 mkdir -p $fs/usr/lib |
slaxemulator@8145 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8145 | 32 } |
slaxemulator@8145 | 33 |