1 ################################################################################
5 ################################################################################
8 GIT_SOURCE
= git-
$(GIT_VERSION
).
tar.xz
9 GIT_SITE
= https
://www.kernel.org
/pub
/software
/scm
/git
10 GIT_LICENSE
= GPLv2
, LGPLv2.1
+
11 GIT_LICENSE_FILES
= COPYING LGPL-2.1
12 GIT_DEPENDENCIES
= zlib host-gettext
14 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
15 GIT_DEPENDENCIES
+= openssl
16 GIT_CONF_OPTS
+= --with-openssl
17 GIT_CONF_ENV_LIBS
+= $(if
$(BR2_STATIC_LIBS
),-lz
)
19 GIT_CONF_OPTS
+= --without-openssl
22 ifeq ($(BR2_PACKAGE_PERL
),y
)
23 GIT_DEPENDENCIES
+= perl
24 GIT_CONF_OPTS
+= --with-libpcre
26 GIT_CONF_OPTS
+= --without-libpcre
29 ifeq ($(BR2_PACKAGE_LIBCURL
),y
)
30 GIT_DEPENDENCIES
+= libcurl
31 GIT_CONF_OPTS
+= --with-curl
33 ac_cv_prog_curl_config
=$(STAGING_DIR
)/usr
/bin
/$(LIBCURL_CONFIG_SCRIPTS
)
35 GIT_CONF_OPTS
+= --without-curl
38 ifeq ($(BR2_PACKAGE_EXPAT
),y
)
39 GIT_DEPENDENCIES
+= expat
40 GIT_CONF_OPTS
+= --with-expat
42 GIT_CONF_OPTS
+= --without-expat
45 ifeq ($(BR2_PACKAGE_LIBICONV
),y
)
46 GIT_DEPENDENCIES
+= libiconv
47 GIT_CONF_ENV_LIBS
+= -liconv
48 GIT_CONF_OPTS
+= --with-iconv
=/usr
/lib
50 GIT_CONF_OPTS
+= --without-iconv
53 ifeq ($(BR2_PACKAGE_TCL
),y
)
54 GIT_DEPENDENCIES
+= tcl
55 GIT_CONF_OPTS
+= --with-tcltk
57 GIT_CONF_OPTS
+= --without-tcltk
60 # assume yes for these tests, configure will bail out otherwise
61 # saying error: cannot run test program while cross compiling
63 ac_cv_fread_reads_directories
=yes \
64 ac_cv_snprintf_returns_bogus
=yes LIBS
='$(GIT_CONF_ENV_LIBS)'
66 $(eval
$(autotools-package
))