diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/curl |
Initial import
Diffstat (limited to 'package/curl')
-rw-r--r-- | package/curl/Config.in | 26 | ||||
-rw-r--r-- | package/curl/Makefile | 55 | ||||
-rw-r--r-- | package/curl/ipkg/curl.control | 5 | ||||
-rw-r--r-- | package/curl/ipkg/libcurl.control | 5 | ||||
-rw-r--r-- | package/curl/patches/patch-configure | 24 |
5 files changed, 115 insertions, 0 deletions
diff --git a/package/curl/Config.in b/package/curl/Config.in new file mode 100644 index 000000000..a74a823e2 --- /dev/null +++ b/package/curl/Config.in @@ -0,0 +1,26 @@ +config ADK_COMPILE_CURL + tristate + default n + depends ADK_PACKAGE_LIBCURL + +config ADK_PACKAGE_LIBCURL + prompt "libcurl........................... A client-side URL transfer library" + tristate + default n + select ADK_COMPILE_CURL + select ADK_PACKAGE_LIBOPENSSL + select ADK_PACKAGE_ZLIB + help + A client-side URL transfer library. + + http://curl.haxx.se/ + +config ADK_PACKAGE_CURL + prompt "curl............................ A client-side URL transfer tool" + tristate + default n + depends ADK_PACKAGE_LIBCURL + help + A client-side URL transfer tool. + + http://curl.haxx.se/ diff --git a/package/curl/Makefile b/package/curl/Makefile new file mode 100644 index 000000000..1d6f4855c --- /dev/null +++ b/package/curl/Makefile @@ -0,0 +1,55 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= curl +PKG_VERSION:= 7.19.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 35f51ac7bcff689b2d2d6e38a3c4d1ae +MASTER_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/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) +$(eval $(call PKG_template,LIBCURL,libcurl,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --disable-thread \ + --enable-cookies \ + --enable-crypto-auth \ + --enable-nonblocking \ + --enable-file \ + --enable-ftp \ + --enable-http \ + --disable-ares \ + --disable-dict \ + --disable-gopher \ + --disable-ldap \ + --disable-manual \ + --disable-sspi \ + --disable-telnet \ + --disable-verbose \ + --with-random="/dev/urandom" \ + --with-ssl="${STAGING_DIR}/usr" \ + --without-ca-bundle \ + --without-gnutls \ + --without-libidn +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + ${INSTALL_DIR} ${IDIR_CURL}/usr/bin + ${CP} ${WRKINST}/usr/bin/curl ${IDIR_CURL}/usr/bin/ + ${INSTALL_DIR} ${IDIR_LIBCURL}/usr/lib + ${CP} ${WRKINST}/usr/lib/libcurl.so.* ${IDIR_LIBCURL}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/curl/ipkg/curl.control b/package/curl/ipkg/curl.control new file mode 100644 index 000000000..2678e0430 --- /dev/null +++ b/package/curl/ipkg/curl.control @@ -0,0 +1,5 @@ +Package: curl +Priority: optional +Section: net +Description: a client-side URL transfer tool +Depends: libcurl diff --git a/package/curl/ipkg/libcurl.control b/package/curl/ipkg/libcurl.control new file mode 100644 index 000000000..435a3192a --- /dev/null +++ b/package/curl/ipkg/libcurl.control @@ -0,0 +1,5 @@ +Package: libcurl +Priority: optional +Section: libs +Description: a client-side URL transfer library +Depends: libopenssl, zlib diff --git a/package/curl/patches/patch-configure b/package/curl/patches/patch-configure new file mode 100644 index 000000000..d046721f0 --- /dev/null +++ b/package/curl/patches/patch-configure @@ -0,0 +1,24 @@ +$Id$ + + Don't do *THAT* for cross-compiling. + +--- curl-7.16.3.orig/configure 2007-06-25 11:18:41.000000000 +0200 ++++ curl-7.16.3/configure 2007-08-02 17:44:28.000000000 +0200 +@@ -25783,17 +25783,6 @@ fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- +- if test "$OPENSSL_ENABLED" = "1"; then +- if test -n "$LIB_OPENSSL"; then +- +- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL" +- export LD_LIBRARY_PATH +- { echo "$as_me:$LINENO: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&5 +-echo "$as_me: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&6;} +- fi +- fi +- + fi + + |