wok annotate libssh/receipt @ rev 18921

slitaz-i18n: remove files common to glibc-base from locale-* packages
glibc-extra-samba: 100% common to glibc-base; to remove?
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 24 22:42:08 2016 +0200 (2016-02-24)
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 }