wok-stable annotate libssh/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
slaxemulator@8145 | 4 VERSION="0.4.8" |
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@8145 | 12 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$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@8145 | 24 make DESTDIR=$PWD/../_pkg 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 |