Last active
May 1, 2024 16:45
-
-
Save brianclements/9802627 to your computer and use it in GitHub Desktop.
cURL package information for addition in buildroot. Copy both files to /package/curl and don't forget to add 'source "package/curl/Config.in"' to your top level Config.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################# | |
# | |
# curl | |
# | |
############################################################# | |
LIBCURL_VERSION = 7.36.0 | |
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 $(autotools-package,package,libcurl)) | |
$(LIBCURL_HOOK_POST_INSTALL): | |
rm -rf $(TARGET_DIR)/usr/bin/curl-config \ | |
$(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl) |
package/libcurl/libcurl.mk:85: *** Package error: use LIBCURL_CONF_OPTS instead of LIBCURL_CONF_OPT. Please fix your .mk file.
After the change it worked perfect 👍 thank you very much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice, just used this. thanks for posting.