]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - pkgs/core/curl/curl.nm
expect: Fix dependencies: tcl is required for build.
[people/arne_f/ipfire-3.x.git] / pkgs / core / curl / curl.nm
CommitLineData
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
25include $(PKGROOT)/Include
26
27PKG_NAME = curl
aeefad9a 28PKG_VER = 7.21.1
8b63a194 29PKG_REL = 0
30
31PKG_MAINTAINER =
32PKG_GROUP = Application/Internet
33PKG_URL = http://www.curl.haxx.se/
34PKG_LICENSE = MIT
35PKG_SUMMARY = A utility for getting files from remote servers (FTP, HTTP, and others).
36
452efbe7 37PKG_BUILD_DEPS+= libidn-devel libssh2-devel openldap-devel openssl-devel pkg-config zlib-devel
8b63a194 38
39define 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.
45endef
46
9e4121ab 47PKG_TARBALL = $(THISAPP).tar.gz
8b63a194 48
452efbe7
MT
49PKG_PACKAGES += libcurl libcurl-devel
50
51PKG_DEPS-libcurl = $(PKG_DEPS-$(PKG_NAME)-libs)
52PKG_BUILD_DEPS-libcurl = $(PKG_BUILD_DEPS-$(PKG_NAME)-libs)
53PKG_SUMMARY-libcurl = $(PKG_SUMMARY-$(PKG_NAME)-libs)
54PKG_FILES-libcurl = $(PKG_FILES-$(PKG_NAME)-libs)
55
56PKG_DEPS-libcurl-devel = $(PKG_DEPS-$(PKG_NAME)-devel)
57PKG_BUILD_DEPS-libcurl-devel = $(PKG_BUILD_DEPS-$(PKG_NAME)-devel)
58PKG_SUMMARY-libcurl-devel = $(PKG_SUMMARY-$(PKG_NAME)-devel)
59PKG_FILES-libcurl-devel = $(PKG_FILES-$(PKG_NAME)-devel)
60
8b63a194 61CONFIGURE_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