Magellan Linux

Contents of /branches/magellan-next/core/curl/curl-7.21.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9022 - (show annotations) (download)
Fri Sep 30 16:21:43 2011 UTC (12 years, 7 months ago) by niro
File size: 783 byte(s)
auto added: ver bump to 7.21.7-r2
1 # $Id$
2
3 PNAME="curl"
4 PVER="7.21.7"
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
14 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mbuild
18
19 SRC_URI=(
20 http://curl.haxx.se/download/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd ${HOMEPAGE}/download | grep ${PNAME}- | lasttarball"
25
26 src_compile()
27 {
28 cd ${SRCDIR}
29
30 mconfigure \
31 --with-gnu-ld \
32 --enable-http \
33 --enable-ftp \
34 --enable-gopher \
35 --enable-file \
36 --enable-dict \
37 --enable-telnet \
38 --enable-nonblocking \
39 --with-ssl \
40 || die
41
42 mmake || die
43 }