wok-next annotate libssh/receipt @ rev 17816
Add quilt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 21 17:52:00 2015 +0100 (2015-03-21) |
parents | 76b72f1ad63c |
children | 33e5fb8a4dcb |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@8145 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@8145 | 10 WEB_SITE="http://www.libssh.org/" |
slaxemulator@12387 | 11 WGET_URL="https://red.libssh.org/attachments/download/27/$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 } |
slaxemulator@8145 | 36 |