Contents of /smage/trunk/core/ica-client-libcurl3/ica-client-libcurl3-7.65.1-r1.smage2
Parent Directory | Revision Log
Revision 13094 -
(show annotations)
(download)
Wed Jun 26 11:39:57 2019 UTC (4 years, 11 months ago) by niro
File size: 1878 byte(s)
Wed Jun 26 11:39:57 2019 UTC (4 years, 11 months ago) by niro
File size: 1878 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 | sminclude mbuild |
25 | msetfeature "!check" # one test fails with version 7.33.0 - remove me |
26 | |
27 | SRC_URI=( |
28 | http://curl.haxx.se/download/${SRCFILE} |
29 | mirror://curl/${SRCFILE} |
30 | mirror://curl/curl-7.52.1-debian-keep-symbols-compat.patch |
31 | ) |
32 | |
33 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep curl- | highesttarball" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | # enforce solib 3 version |
41 | mpatch curl-7.52.1-debian-keep-symbols-compat.patch || die |
42 | |
43 | # fix link issues with as-needed - fixme |
44 | all-abis 'sed -i "s:LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:" docs/examples/Makefile.am || die' |
45 | all-abis 'sed -i "s:@USE_EXPLICIT_LIB_DEPS_FALSE@LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:" docs/examples/Makefile.in || die' |
46 | } |
47 | |
48 | src_compile() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | mconfigure \ |
53 | --with-gnu-ld \ |
54 | --enable-http \ |
55 | --enable-ftp \ |
56 | --enable-gopher \ |
57 | --enable-file \ |
58 | --enable-dict \ |
59 | --enable-telnet \ |
60 | --enable-nonblocking \ |
61 | --with-ssl \ |
62 | --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ |
63 | --enable-versioned-symbols \ |
64 | --disable-ldap \ |
65 | --disable-ldaps \ |
66 | || die |
67 | |
68 | mmake || die |
69 | } |
70 | |
71 | src_install() |
72 | { |
73 | cd ${SRCDIR} |
74 | |
75 | # fake install location |
76 | mmake DESTDIR=${BINDIR}/fakeinstall -C lib install || die |
77 | |
78 | # move to a proper location |
79 | minstalldir /opt/Citrix/ICAClient/lib |
80 | mv ${BINDIR}/fakeinstall/usr/$(mlibdir)/libcurl.so.* /opt/Citrix/ICAClient/lib/ || die |
81 | |
82 | # remove fakeinstall cruft |
83 | mdelete -r /fakeinstall || die |
84 | } |