mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
a58c5651c9
b8936883573708059357a66f67fad9dc77a8bade depends: Specify LDFLAGS to cmake as well (Carl Dong) b3f541f618fe1f3d44baf6a0dd4299173c81f752 depends: Prepend CPPFLAGS to C{,XX}FLAGS for CMake (Carl Dong) 8e121e550953711cd03d7b6c221afd065c325c5e depends: Cleanup CMake invocation (Carl Dong) 8c7cd0c6d9f295bcb6913e3c69c9dac4ce2b25ce depends: More robust cmake invocation (Carl Dong) 3ecf0eca634601da216b06f091f95456c047f39c depends: Use $($(package)_cmake) instead of cmake (Carl Dong) Pull request description: - Use `$($(package)_cmake)` instead of invoking `cmake` directly - Use well-known env vars instead of overriding CMake variables ACKs for top commit: ryanofsky: Code review ACK b8936883573708059357a66f67fad9dc77a8bade. Only changes since last review are new commits adding whitespace, cppflags and ldflags to cmake invocation Tree-SHA512: cfcd8cc9dcd0b336cf48b82fca9fe4bbc7930ed397cb7a68a07066680eb4c1906a6a9b5bd2589b4b4999e8f16232fa30ee9b376b60f4456d0fff931fbf9cc19a
25 lines
880 B
Makefile
25 lines
880 B
Makefile
package=native_libdmg-hfsplus
|
|
$(package)_version=7ac55ec64c96f7800d9818ce64c79670e7f02b67
|
|
$(package)_download_path=https://github.com/planetbeing/libdmg-hfsplus/archive
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=56fbdc48ec110966342f0ecddd6f8f89202f4143ed2a3336e42bbf88f940850c
|
|
$(package)_build_subdir=build
|
|
$(package)_patches=remove-libcrypto-dependency.patch
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/remove-libcrypto-dependency.patch && \
|
|
mkdir build
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) -DCMAKE_C_FLAGS="$$($(1)_cflags) -Wl,--build-id=none" -DCMAKE_SKIP_RPATH="ON" -DCMAKE_EXE_LINKER_FLAGS="-static" -DCMAKE_FIND_LIBRARY_SUFFIXES=".a" ..
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) -C dmg
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) -C dmg install
|
|
endef
|