]>
Commit | Line | Data |
---|---|---|
8b63a194 | 1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = curl | |
aeefad9a | 28 | PKG_VER = 7.21.1 |
8b63a194 | 29 | PKG_REL = 0 |
30 | ||
31 | PKG_MAINTAINER = | |
32 | PKG_GROUP = Application/Internet | |
33 | PKG_URL = http://www.curl.haxx.se/ | |
34 | PKG_LICENSE = MIT | |
35 | PKG_SUMMARY = A utility for getting files from remote servers (FTP, HTTP, and others). | |
36 | ||
452efbe7 | 37 | PKG_BUILD_DEPS+= libidn-devel libssh2-devel openldap-devel openssl-devel pkg-config zlib-devel |
8b63a194 | 38 | |
39 | define PKG_DESCRIPTION | |
40 | cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, \ | |
41 | DICT, TELNET and TFTP servers, using any of the supported protocols. \ | |
42 | cURL is designed to work without user interaction or any kind of \ | |
43 | interactivity. cURL offers many useful capabilities, like proxy support, \ | |
44 | user authentication, FTP upload, HTTP post, and file transfer resume. | |
45 | endef | |
46 | ||
9e4121ab | 47 | PKG_TARBALL = $(THISAPP).tar.gz |
8b63a194 | 48 | |
452efbe7 MT |
49 | PKG_PACKAGES += libcurl libcurl-devel |
50 | ||
51 | PKG_DEPS-libcurl = $(PKG_DEPS-$(PKG_NAME)-libs) | |
52 | PKG_BUILD_DEPS-libcurl = $(PKG_BUILD_DEPS-$(PKG_NAME)-libs) | |
53 | PKG_SUMMARY-libcurl = $(PKG_SUMMARY-$(PKG_NAME)-libs) | |
54 | PKG_FILES-libcurl = $(PKG_FILES-$(PKG_NAME)-libs) | |
55 | ||
56 | PKG_DEPS-libcurl-devel = $(PKG_DEPS-$(PKG_NAME)-devel) | |
57 | PKG_BUILD_DEPS-libcurl-devel = $(PKG_BUILD_DEPS-$(PKG_NAME)-devel) | |
58 | PKG_SUMMARY-libcurl-devel = $(PKG_SUMMARY-$(PKG_NAME)-devel) | |
59 | PKG_FILES-libcurl-devel = $(PKG_FILES-$(PKG_NAME)-devel) | |
60 | ||
8b63a194 | 61 | CONFIGURE_OPTIONS += \ |
8b63a194 | 62 | --disable-static \ |
63 | --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \ | |
64 | --with-libidn \ | |
65 | --with-libssh2 \ | |
66 | --with-nss \ | |
67 | --enable-ldaps \ | |
68 | --enable-ipv6 | |
8b63a194 | 69 | |
bfb883b3 | 70 | # Doesn't work |
8b63a194 | 71 | #define STAGE_TEST |
72 | # cd $(DIR_APP) && make check | |
73 | #endef |