Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/curl/curl-7.44.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7786 - (show annotations) (download)
Wed Nov 18 09:04:05 2015 UTC (8 years, 5 months ago) by niro
File size: 1113 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="curl"
4 PVER="7.44.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=">= 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 }