wok-next annotate libssh/receipt @ rev 19941
gst0-ffmpeg*: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 19:06:21 2017 +0200 (2017-10-15) |
parents | b4200e26ba1c |
children | e6615350078d |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
al@19741 | 4 VERSION="0.7.5" |
slaxemulator@8145 | 5 CATEGORY="network" |
al@19741 | 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 WEB_SITE="http://www.libssh.org/" |
pascal@17141 | 10 TAGS="ssh" |
slaxemulator@8145 | 11 |
al@19741 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19741 | 13 WGET_URL="https://red.libssh.org/attachments/download/218/$TARBALL" |
al@19741 | 14 TARBALL_MD5="d3fc864208bf607ad87cdee836894feb" |
al@19741 | 15 |
al@19741 | 16 BUILD_DEPENDS="cmake zlib-dev openssl-dev" |
al@19741 | 17 SPLIT="libssh-dev" |
pascal@14718 | 18 |
slaxemulator@8145 | 19 # Rules to configure and make the package. |
slaxemulator@8145 | 20 compile_rules() |
slaxemulator@8145 | 21 { |
slaxemulator@8145 | 22 mkdir build |
slaxemulator@8145 | 23 cd build |
al@19741 | 24 cmake \ |
slaxemulator@8145 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19741 | 26 -DCMAKE_BUILD_TYPE=Release \ |
al@19741 | 27 .. && |
al@19741 | 28 make && |
al@19741 | 29 make install |
slaxemulator@8145 | 30 } |
slaxemulator@8145 | 31 |
slaxemulator@8145 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8145 | 33 genpkg_rules() |
slaxemulator@8145 | 34 { |
al@19741 | 35 case $PACKAGE in |
al@19741 | 36 libssh) |
al@19741 | 37 copy @std |
al@19741 | 38 DEPENDS="libcrypto zlib" |
al@19741 | 39 ;; |
al@19741 | 40 libssh-dev) |
al@19741 | 41 copy @dev |
al@19741 | 42 ;; |
al@19741 | 43 esac |
slaxemulator@8145 | 44 } |