summaryrefslogtreecommitdiff
path: root/package/curl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 20:09:09 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 20:09:09 +0200
commit9d8ce74086152a6431f92e95533a31a0cd6b2d23 (patch)
tree114dea73035cef5daa129fec4da31febf292dd66 /package/curl/Makefile
parentd797df53c90b50b326fb0f39a6928e207e1cbe1d (diff)
parent4fa46b6a63a479a7a216b519c329dbfe53b0ca39 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/curl/Makefile')
-rw-r--r--package/curl/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/package/curl/Makefile b/package/curl/Makefile
index 0801155ec..41c271e22 100644
--- a/package/curl/Makefile
+++ b/package/curl/Makefile
@@ -4,21 +4,15 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= curl
-PKG_VERSION:= 7.20.1
+PKG_VERSION:= 7.21.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= d7df0507db48546661b155b612cac19c
+PKG_MD5SUM:= 6dfb911a254a1b5ca8b534b98f2196aa
PKG_DESCR:= a client-side URL transfer tool
PKG_SECTION:= www
PKG_DEPENDS:= libcurl
PKG_BUILDDEP+= openssl zlib
-PKG_URL:= http://curl.haxx.se
-PKG_SITES:= http://curl.haxx.se/download/ \
- http://www.mirrorspace.org/curl/ \
- http://curl.mirror.internet.tp/download/ \
- ftp://ftp.sunet.se/pub/www/utilities/curl/ \
- ftp://ftp.planetmirror.com/pub/curl/ \
- http://www.mirrormonster.com/curl/download/ \
- http://curl.mirrors.cyberservers.net/download/
+PKG_URL:= http://curl.haxx.se/
+PKG_SITES:= http://curl.haxx.se/download/
PKG_DESCR_LIB:= a client-side URL transfer library
PKG_SECTION_LIB:= libs
@@ -26,6 +20,9 @@ PKG_DEPENDS_LIB:= libopenssl zlib
PKG_DESCR_LIB_DEV:= development files for libcurl
PKG_SECTION_LIB_DEV:= devel
+PKG_FLAVOURS:= WITH_IPV6
+PKGFD_WITH_IPV6:= enable IPv6 support
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -59,6 +56,12 @@ CONFIGURE_ARGS+= --disable-thread \
--without-gnutls \
--without-libidn
+ifneq (${ADK_PACKAGE_CURL_WITH_IPV6},)
+CONFIGURE_ARGS+= --enable-ipv6
+else
+CONFIGURE_ARGS+= --disable-ipv6
+endif
+
post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_DIR} ${IDIR_LIBCURL}/usr/lib
${CP} ${WRKINST}/usr/lib/libcurl.so* ${IDIR_LIBCURL}/usr/lib/