mirror of https://github.com/lukechilds/komodo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
8 years ago
|
package=libcurl
|
||
|
$(package)_version=7.54.0
|
||
|
$(package)_download_path=https://curl.haxx.se/download
|
||
|
$(package)_file_name=curl-$($(package)_version).tar.gz
|
||
|
$(package)_sha256_hash=a84b635941c74e26cce69dd817489bec687eb1f230e7d1897fc5b5f108b59adf
|
||
|
$(package)_config_opts_linux=--disable-shared --enable-static --prefix=$(host_prefix)
|
||
|
$(package)_config_opts_mingw32=--enable-mingw --disable-shared --enable-static --prefix=$(host_prefix) --host=x86_64-w64-mingw32
|
||
|
$(package)_config_opts_darwin=--disable-shared --enable-static --prefix=$(host_prefix)
|
||
|
$(package)_cflags_darwin=-mmacosx-version-min=10.9
|
||
|
$(package)_conf_tool=./configure
|
||
|
|
||
|
ifeq ($(build_os),darwin)
|
||
|
define $(package)_set_vars
|
||
|
$(package)_build_env=MACOSX_DEPLOYMENT_TARGET="10.9"
|
||
|
endef
|
||
|
else
|
||
|
define $(package)_config_cmds
|
||
|
$($(package)_conf_tool) $($(package)_config_opts)
|
||
|
endef
|
||
|
endif
|
||
|
|
||
|
ifeq ($(build_os),darwin)
|
||
|
define $(package)_build_cmds
|
||
|
$(MAKE) CPPFLAGS='-fPIC' CFLAGS='-mmacosx-version-min=10.9'
|
||
|
endef
|
||
|
else
|
||
|
define $(package)_build_cmds
|
||
|
$(MAKE)
|
||
|
endef
|
||
|
endif
|
||
|
|
||
|
define $(package)_stage_cmds
|
||
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
||
|
endef
|