Annotation of /branches/R11-stable/core/curl/curl-7.34.0-r1.smage2
Parent Directory
|
Revision Log
Revision 20400 -
(hide annotations)
(download)
Mon Dec 23 10:05:52 2013 UTC (10 years, 6 months ago) by niro
Original Path: trunk/core/curl/curl-7.34.0-r1.smage2
File size: 1316 byte(s)
Mon Dec 23 10:05:52 2013 UTC (10 years, 6 months ago) by niro
Original Path: trunk/core/curl/curl-7.34.0-r1.smage2
File size: 1316 byte(s)
auto added: ver bump to 7.34.0-r1
1 | niro | 20400 | # $Id$ |
2 | |||
3 | PNAME="curl" | ||
4 | PVER="7.34.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="net-misc" | ||
8 | |||
9 | DESCRIPTION="curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP." | ||
10 | HOMEPAGE="http://curl.haxx.se/" | ||
11 | |||
12 | DEPEND=">= dev-libs/openssl-1.0.1e | ||
13 | >= net-dns/libidn-1.28 | ||
14 | >= sys-libs/zlib-1.2 | ||
15 | >= app-crypt/ca-certificates-2011" | ||
16 | |||
17 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
19 | |||
20 | sminclude mbuild | ||
21 | msetfeature "!check" # one test fails with version 7.33.0 - remove me | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://curl.haxx.se/download/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep ${PNAME}- | lasttarball" | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # fix link issues with as-needed - fixme | ||
36 | sed -i 's:LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:' docs/examples/Makefile.am || die | ||
37 | sed -i 's:@USE_EXPLICIT_LIB_DEPS_FALSE@LDADD = $(LIBDIR)/libcurl.la:& -lssl -lcrypto:' \ | ||
38 | docs/examples/Makefile.in || die | ||
39 | } | ||
40 | |||
41 | src_compile() | ||
42 | { | ||
43 | cd ${SRCDIR} | ||
44 | |||
45 | mconfigure \ | ||
46 | --with-gnu-ld \ | ||
47 | --enable-http \ | ||
48 | --enable-ftp \ | ||
49 | --enable-gopher \ | ||
50 | --enable-file \ | ||
51 | --enable-dict \ | ||
52 | --enable-telnet \ | ||
53 | --enable-nonblocking \ | ||
54 | --with-ssl \ | ||
55 | --enable-hidden-symbols \ | ||
56 | --disable-ldap \ | ||
57 | --disable-ldaps \ | ||
58 | || die | ||
59 | |||
60 | mmake || die | ||
61 | } |