From 615528ba939d4c54f3b7630b6422496b38482549 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 28 Dec 2008 20:00:07 +0000 Subject: curl: rename to libcurl so Makefile.autotools.in can find patches --- package/libcurl/Config.in | 13 +++++++++++++ package/libcurl/libcurl.mk | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 package/libcurl/Config.in create mode 100644 package/libcurl/libcurl.mk (limited to 'package/libcurl') diff --git a/package/libcurl/Config.in b/package/libcurl/Config.in new file mode 100644 index 000000000..1d6d08e68 --- /dev/null +++ b/package/libcurl/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_LIBCURL + bool "libcurl" + help + cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, + and Dict servers, using any of the supported protocols. + + http://curl.haxx.nu/ + +config BR2_PACKAGE_CURL + bool "curl binary" + depends on BR2_PACKAGE_LIBCURL + help + Install curl binary as well diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk new file mode 100644 index 000000000..60ed3623d --- /dev/null +++ b/package/libcurl/libcurl.mk @@ -0,0 +1,17 @@ +############################################################# +# +# libcurl +# +############################################################# +LIBCURL_VERSION = 7.19.2 +LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2 +LIBCURL_SITE = http://curl.haxx.se/download/ +LIBCURL_INSTALL_STAGING = YES +LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols \ + $(DISABLE_NLS) $(DISABLE_LARGEFILE) $(DISABLE_IPV6) + +$(eval $(call AUTOTARGETS,package,libcurl)) + +$(LIBCURL_HOOK_POST_INSTALL): + rm -rf $(TARGET_DIR)/usr/bin/curl-config \ + $(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl) -- cgit v1.2.3