depends: bump cctools to a custom version with less deps
This one no longer requires native libuuid or libcrypto
This commit is contained in:
parent
46f54bf796
commit
4caad26ba1
4 changed files with 6 additions and 49 deletions
|
@ -1,10 +1,9 @@
|
||||||
package=native_cctools
|
package=native_cctools
|
||||||
$(package)_version=59d21d2c793c51d205c8b4ab14b9b28e63c72445
|
$(package)_version=ee31ae567931c426136c94aad457c7b51d844beb
|
||||||
$(package)_download_path=https://github.com/theuni/cctools-port/archive
|
$(package)_download_path=https://github.com/theuni/cctools-port/archive
|
||||||
$(package)_file_name=$($(package)_version).tar.gz
|
$(package)_file_name=$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=e13c7129b9d496adf4d674156b4a1d72d8b936f29f377aae8f8b5e7b650cc305
|
$(package)_sha256_hash=ef107e6ab1b3994cb22e14f4f5c59ea0c0b5a988e6b21d42ed9616b018bbcbf9
|
||||||
$(package)_build_subdir=cctools
|
$(package)_build_subdir=cctools
|
||||||
$(package)_dependencies=native_libuuid native_openssl
|
|
||||||
$(package)_clang_version=3.3
|
$(package)_clang_version=3.3
|
||||||
$(package)_clang_download_path=http://llvm.org/releases/$($(package)_clang_version)
|
$(package)_clang_download_path=http://llvm.org/releases/$($(package)_clang_version)
|
||||||
$(package)_clang_download_file=clang+llvm-$($(package)_clang_version)-amd64-Ubuntu-12.04.2.tar.gz
|
$(package)_clang_download_file=clang+llvm-$($(package)_clang_version)-amd64-Ubuntu-12.04.2.tar.gz
|
||||||
|
@ -25,8 +24,10 @@ define $(package)_extract_cmds
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
$(package)_config_opts=--target=$(host) CC=toolchain/clang CXX=toolchain/clang++
|
$(package)_config_opts=--target=$(host) --disable-libuuid
|
||||||
$(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib
|
$(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib
|
||||||
|
$(package)_cc=$($(package)_extract_dir)/toolchain/bin/clang
|
||||||
|
$(package)_cxx=$($(package)_extract_dir)/toolchain/bin/clang++
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
|
@ -34,12 +35,10 @@ define $(package)_preprocess_cmds
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_config_cmds
|
define $(package)_config_cmds
|
||||||
export "PATH=$($(package)_extract_dir)/toolchain/bin:$(PATH)" && \
|
|
||||||
$($(package)_autoconf)
|
$($(package)_autoconf)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
export "PATH=$($(package)_extract_dir)/toolchain/bin:$(PATH)" && \
|
|
||||||
$(MAKE)
|
$(MAKE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
package:=native_libuuid
|
|
||||||
$(package)_version=1.41.14
|
|
||||||
$(package)_download_path=http://downloads.sourceforge.net/e2fsprogs
|
|
||||||
$(package)_file_name=e2fsprogs-libs-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=dbc7a138a3218d9b80a0626b5b692d76934d6746d8cbb762751be33785d8d9f5
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-elf-shlibs --disable-uuidd
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -C lib/uuid
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) -C lib/uuid install
|
|
||||||
endef
|
|
|
@ -1,21 +0,0 @@
|
||||||
package=native_openssl
|
|
||||||
$(package)_version=1.0.1h
|
|
||||||
$(package)_download_path=https://www.openssl.org/source
|
|
||||||
$(package)_file_name=openssl-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_build_config_opts= --prefix=$(build_prefix) no-zlib no-shared no-krb5C linux-generic64
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
./Configure $($(package)_build_config_opts) &&\
|
|
||||||
sed -i "s|engines apps test|engines|" Makefile
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE) -j1
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) INSTALL_PREFIX=$($(package)_staging_dir) -j1 install_sw
|
|
||||||
endef
|
|
|
@ -19,5 +19,5 @@ wallet_packages=bdb
|
||||||
upnp_packages=miniupnpc
|
upnp_packages=miniupnpc
|
||||||
|
|
||||||
ifneq ($(build_os),darwin)
|
ifneq ($(build_os),darwin)
|
||||||
darwin_native_packages=native_libuuid native_openssl native_cctools native_cdrkit native_libdmg-hfsplus
|
darwin_native_packages=native_cctools native_cdrkit native_libdmg-hfsplus
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue