Contents of /smage/trunk/core/ica-client-libcurl3/ica-client-libcurl3-7.65.1-r1.smage2
Parent Directory | Revision Log
Revision 13099 -
(show annotations)
(download)
Wed Jun 26 11:46:03 2019 UTC (5 years, 3 months ago) by niro
File size: 1867 byte(s)
Wed Jun 26 11:46:03 2019 UTC (5 years, 3 months ago) by niro
File size: 1867 byte(s)
auto added: ver bump to 7.65.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="ica-client-libcurl3" |
4 | PVER="7.65.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-libs" |
8 | |
9 | DESCRIPTION="LIBCURL_OPENSSL_3 version for Citrix ICA Client." |
10 | HOMEPAGE="http://curl.haxx.se/" |
11 | |
12 | DEPEND=">= dev-libs/openssl-1.1 |
13 | >= net-dns/libidn-1.35 |
14 | >= sys-libs/zlib-1.2 |
15 | >= app-crypt/ca-certificates-2018" |
16 | |
17 | SDEPEND=">= dev-libs/openssl-dev-1.1 |
18 | >= net-dns/libidn-dev-1.33 |
19 | >= sys-libs/zlib-dev-1.2" |
20 | |
21 | SRCFILE="curl-${PVER}.tar.bz2" |
22 | SRCDIR="${BUILDDIR}/curl-${PVER}" |
23 | |
24 | msetfeature "!check" # one test fails with version 7.33.0 - remove me |
25 | |
26 | SRC_URI=( |
27 | http://curl.haxx.se/download/${SRCFILE} |
28 | mirror://curl/${SRCFILE} |
29 | mirror://curl/curl-7.52.1-debian-keep-symbols-compat.patch |
30 | ) |
31 | |
32 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep curl- | highesttarball" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # enforce solib 3 version |
40 | mpatch curl-7.52.1-debian-keep-symbols-compat.patch || die |
41 | |
42 | # fix link issues with as-needed - fixme |
43 | sed -i 's:LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:' docs/examples/Makefile.am || die |
44 | sed -i 's:@USE_EXPLICIT_LIB_DEPS_FALSE@LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:' docs/examples/Makefile.in || die |
45 | } |
46 | |
47 | src_compile() |
48 | { |
49 | cd ${SRCDIR} |
50 | |
51 | mconfigure \ |
52 | --with-gnu-ld \ |
53 | --enable-http \ |
54 | --enable-ftp \ |
55 | --enable-gopher \ |
56 | --enable-file \ |
57 | --enable-dict \ |
58 | --enable-telnet \ |
59 | --enable-nonblocking \ |
60 | --with-ssl \ |
61 | --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ |
62 | --enable-versioned-symbols \ |
63 | --disable-ldap \ |
64 | --disable-ldaps \ |
65 | || die |
66 | |
67 | mmake || die |
68 | } |
69 | |
70 | src_install() |
71 | { |
72 | cd ${SRCDIR} |
73 | |
74 | # fake install location |
75 | mmake DESTDIR=${BINDIR}/fakeinstall -C lib install || die |
76 | |
77 | # move to a proper location |
78 | install -d ${BINDIR}/opt/Citrix/ICAClient/lib || die |
79 | mv ${BINDIR}/fakeinstall/usr/$(mlibdir)/libcurl.so.* ${BINDIR}/opt/Citrix/ICAClient/lib/ || die |
80 | |
81 | # remove fakeinstall cruft |
82 | rm -r ${BINDIR}/fakeinstall || die |
83 | } |