Skip to content

Instantly share code, notes, and snippets.

@spartajet
Forked from brianclements/Config.in
Created November 28, 2023 04:46
Show Gist options
  • Save spartajet/0ece903e1c11a26ee516f485730d40b0 to your computer and use it in GitHub Desktop.
Save spartajet/0ece903e1c11a26ee516f485730d40b0 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
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
#############################################################
#
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment