diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-12-28 20:00:07 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-12-28 20:00:07 +0000 |
commit | 615528ba939d4c54f3b7630b6422496b38482549 (patch) | |
tree | a28bca1da983b9d24108b39cd190b8aac8f01e4e /package/libcurl | |
parent | 620bde212731fc7ac4d85084b2c6bfbccd50d2f8 (diff) |
curl: rename to libcurl so Makefile.autotools.in can find patches
Diffstat (limited to 'package/libcurl')
-rw-r--r-- | package/libcurl/Config.in | 13 | ||||
-rw-r--r-- | package/libcurl/libcurl.mk | 17 |
2 files changed, 30 insertions, 0 deletions
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) |