Contents of /branches/magellan-next/core/curl/curl-7.23.1-r2.smage2
Parent Directory | Revision Log
Revision 9843 -
(show annotations)
(download)
Fri Jan 13 12:12:08 2012 UTC (12 years, 8 months ago) by niro
File size: 818 byte(s)
Fri Jan 13 12:12:08 2012 UTC (12 years, 8 months ago) by niro
File size: 818 byte(s)
-added ca-certificates
1 | # $Id$ |
2 | |
3 | PNAME="curl" |
4 | PVER="7.23.1" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="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.0 |
13 | >= app-crypt/ca-certificates-2011" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | http://curl.haxx.se/download/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd ${HOMEPAGE}/download | grep ${PNAME}- | lasttarball" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | |
31 | mconfigure \ |
32 | --with-gnu-ld \ |
33 | --enable-http \ |
34 | --enable-ftp \ |
35 | --enable-gopher \ |
36 | --enable-file \ |
37 | --enable-dict \ |
38 | --enable-telnet \ |
39 | --enable-nonblocking \ |
40 | --with-ssl \ |
41 | || die |
42 | |
43 | mmake || die |
44 | } |