Annotation of /trunk/extras/libssh/libssh-0.7.5-r2.smage2
Parent Directory | Revision Log
Revision 30249 -
(hide annotations)
(download)
Thu Nov 9 15:08:11 2017 UTC (6 years, 10 months ago) by niro
File size: 737 byte(s)
Thu Nov 9 15:08:11 2017 UTC (6 years, 10 months ago) by niro
File size: 737 byte(s)
-use libgcrypt instead of openssl
1 | niro | 30248 | # $Id$ |
2 | |||
3 | PNAME="libssh" | ||
4 | PVER="0.7.5" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="net-libs" | ||
8 | |||
9 | DESCRIPTION="Library for accessing ssh client services through C libraries-" | ||
10 | HOMEPAGE="http://www.libssh.org/" | ||
11 | |||
12 | niro | 30249 | DEPEND=">= app-crypt/libgcrypt-1.8 |
13 | niro | 30248 | >= sys-libs/zlib-1.2" |
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude cmake | ||
19 | |||
20 | DL_ID="218" | ||
21 | |||
22 | SRC_URI=( | ||
23 | https://red.libssh.org/attachments/download/${DL_ID}/${SRCFILE} | ||
24 | http://www.libssh.org/files/${PVER%.*}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2EXCLUDE="rc" | ||
29 | UP2DATE="updatecmd https://red.libssh.org/projects/libssh/files | highesttarball xz" | ||
30 | niro | 30249 | |
31 | src_compile() | ||
32 | { | ||
33 | cmake_setup_builddir || die | ||
34 | cmake_configure $(cmake_without GSSAPI) $(cmake_with GCRYPT) || die | ||
35 | cmake_mmake || die | ||
36 | } |