Contents of /smage/trunk/core/curl/curl-7.42.1-r1.smage2
Parent Directory | Revision Log
Revision 6436 -
(show annotations)
(download)
Fri May 8 08:24:53 2015 UTC (9 years, 4 months ago) by niro
File size: 857 byte(s)
Fri May 8 08:24:53 2015 UTC (9 years, 4 months ago) by niro
File size: 857 byte(s)
auto added: ver bump to 7.42.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="curl" |
4 | PVER="7.42.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 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
18 | sminclude mbuild alx-split |
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 | --without-ssl \ |
41 | --disable-ldap \ |
42 | --disable-ldaps \ |
43 | || die |
44 | |
45 | mmake || die |
46 | } |