summaryrefslogtreecommitdiff
path: root/package/curl/curl.mk
blob: b6d7c08daf57442aeea10d4ac5fda6a7f7d68113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#############################################################
#
# curl
#
#############################################################
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)