Contents of /smage/trunk/core/curl/curl-7.53.1-r1.smage2
Parent Directory | Revision Log
Revision 9315 -
(show annotations)
(download)
Tue Mar 28 12:41:50 2017 UTC (7 years, 6 months ago) by niro
File size: 1113 byte(s)
Tue Mar 28 12:41:50 2017 UTC (7 years, 6 months ago) by niro
File size: 1113 byte(s)
auto added: ver bump to 7.53.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="curl" |
4 | PVER="7.53.1" |
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=">= virtual/glibc |
13 | >= dev-libs/openssl-1.0.2 |
14 | >= net-dns/libidn-1.30 |
15 | >= sys-libs/zlib-1.2 |
16 | >= app-crypt/ca-certificates-2015" |
17 | |
18 | SDEPEND=">= dev-libs/openssl-dev-1.0.2 |
19 | >= net-dns/libidn-dev-1.30 |
20 | >= sys-libs/zlib-dev-1.2" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
26 | sminclude mbuild alx-split |
27 | |
28 | SRC_URI=( |
29 | http://curl.haxx.se/download/${SRCFILE} |
30 | mirror://${PNAME}/${SRCFILE} |
31 | ) |
32 | |
33 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep ${PNAME}- | lasttarball" |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | mconfigure \ |
40 | --with-gnu-ld \ |
41 | --enable-http \ |
42 | --enable-ftp \ |
43 | --enable-gopher \ |
44 | --enable-file \ |
45 | --enable-dict \ |
46 | --enable-telnet \ |
47 | --enable-nonblocking \ |
48 | --with-ssl \ |
49 | --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ |
50 | --disable-ldap \ |
51 | --disable-ldaps \ |
52 | || die |
53 | |
54 | mmake || die |
55 | } |