mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
e2224cbf8a
## Issue being fixed or feature implemented
Seems as `cmake` package is not needed anymore so far as `immer` moved
inside src/ directory.
`immer` is integrated to our Makefile.am and do not requires extra call
of cmake as it used to be.
## What was done?
Removed cmake from list of packages and removed package `cmake.mk`
## How Has This Been Tested?
Tested build with HEAD - succeed.
After that reverted to the old revision that have `immer` package
(85d6cadbfa
).
Failed as expected:
```
make: *** No rule to make target 'cmake', needed by '/home/knst/projects/dash/depends/built/x86_64-pc-linux-gnu/bls-dash/bls-dash-1.2.0-6213882c069.tar.gz'. Stop.
```
## Breaking Changes
No breaking changes
## Checklist:
- [x] I have performed a self-review of my own code
- [x] I have assigned this pull request to a milestone
---------
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
25 lines
800 B
Makefile
25 lines
800 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
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix) -DCMAKE_C_FLAGS="-Wl,--build-id=none" ..
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) -C dmg
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) -C dmg install
|
|
endef
|