]>
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 | |
28 | PKG_VER = 7.19.7 | |
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 | ||
37 | PKG_BUILD_DEPS+= libssh2 openssl openldap openssh | |
38 | PKG_DEPS += libssh2 openssl openldap openssh | |
39 | ||
40 | define PKG_DESCRIPTION | |
41 | cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, \ | |
42 | DICT, TELNET and TFTP servers, using any of the supported protocols. \ | |
43 | cURL is designed to work without user interaction or any kind of \ | |
44 | interactivity. cURL offers many useful capabilities, like proxy support, \ | |
45 | user authentication, FTP upload, HTTP post, and file transfer resume. | |
46 | endef | |
47 | ||
48 | PKG_TARBALL = $(THISAPP).tar.bz2 | |
49 | ||
50 | ############################################################################### | |
51 | # Installation Details | |
52 | ############################################################################### | |
53 | CONFIGURE_OPTIONS += \ | |
54 | --prefix=/usr \ | |
55 | --disable-static \ | |
56 | --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \ | |
57 | --with-libidn \ | |
58 | --with-libssh2 \ | |
59 | --with-nss \ | |
60 | --enable-ldaps \ | |
61 | --enable-ipv6 | |
62 | ||
63 | # Remove bogus rpath | |
64 | cd $(DIR_APP) && sed -i \ | |
65 | -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ | |
66 | -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool | |
67 | ||
68 | #define STAGE_TEST | |
69 | # cd $(DIR_APP) && make check | |
70 | #endef | |
71 | ||
72 | define STAGE_INSTALL_CMDS | |
73 | ||
74 | endef |