wok-next annotate libssh/receipt @ rev 16714

Up: slitaz-configs (5.5.2): add all XDG user directories
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 29 17:22:30 2014 +0300 (2014-05-29)
parents 6eff489aa802
children f44ef80ff9e2
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"
slaxemulator@8145 12
pascal@14718 13 DEPENDS="libssl"
pascal@14718 14 BUILD_DEPENDS="cmake openssl-dev wget"
pascal@14718 15
slaxemulator@8145 16 # Rules to configure and make the package.
slaxemulator@8145 17 compile_rules()
slaxemulator@8145 18 {
slaxemulator@8145 19 cd $src
slaxemulator@8145 20 mkdir build
slaxemulator@8145 21 cd build
slaxemulator@8145 22 cmake ../ \
slaxemulator@8145 23 -DCMAKE_INSTALL_PREFIX=/usr \
slaxemulator@8145 24 -DCMAKE_BUILD_TYPE=Release
slaxemulator@8145 25 make
slaxemulator@12387 26 make DESTDIR=$DESTDIR install
slaxemulator@8145 27 }
slaxemulator@8145 28
slaxemulator@8145 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8145 30 genpkg_rules()
slaxemulator@8145 31 {
slaxemulator@8145 32 mkdir -p $fs/usr/lib
pascal@14718 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@8145 34 }
slaxemulator@8145 35