wok-current annotate libssh/receipt @ rev 12387
Up: libssh to 0.5.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:52:39 2012 +0000 (2012-04-19) |
parents | 3bf89f928355 |
children | e089982c8f8d |
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" |
slaxemulator@8145 | 9 BUILD_DEPENDS="cmake openssl-dev" |
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 |