wok annotate libssh/receipt @ rev 18597
Up: tazlito (390)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 13 19:37:22 2015 +0100 (2015-11-13) |
parents | f44ef80ff9e2 |
children | b4200e26ba1c |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
pascal@18051 | 4 VERSION="0.7.0" |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@18051 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@8145 | 10 WEB_SITE="http://www.libssh.org/" |
pascal@18051 | 11 WGET_URL="https://red.libssh.org/attachments/download/140/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
slaxemulator@8145 | 13 |
pascal@14718 | 14 DEPENDS="libssl" |
pascal@14718 | 15 BUILD_DEPENDS="cmake openssl-dev wget" |
pascal@14718 | 16 |
slaxemulator@8145 | 17 # Rules to configure and make the package. |
slaxemulator@8145 | 18 compile_rules() |
slaxemulator@8145 | 19 { |
slaxemulator@8145 | 20 cd $src |
slaxemulator@8145 | 21 mkdir build |
slaxemulator@8145 | 22 cd build |
slaxemulator@8145 | 23 cmake ../ \ |
slaxemulator@8145 | 24 -DCMAKE_INSTALL_PREFIX=/usr \ |
slaxemulator@8145 | 25 -DCMAKE_BUILD_TYPE=Release |
slaxemulator@8145 | 26 make |
slaxemulator@12387 | 27 make DESTDIR=$DESTDIR install |
slaxemulator@8145 | 28 } |
slaxemulator@8145 | 29 |
slaxemulator@8145 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8145 | 31 genpkg_rules() |
slaxemulator@8145 | 32 { |
slaxemulator@8145 | 33 mkdir -p $fs/usr/lib |
pascal@14718 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8145 | 35 } |