mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
27 lines
807 B
Makefile
27 lines
807 B
Makefile
package=native_libffi
|
|
$(package)_version=3.4.6
|
|
$(package)_download_path := https://github.com/libffi/$(package)/releases/download/v$($(package)_version)
|
|
$(package)_file_name := libffi-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash := b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts := --enable-option-checking --disable-dependency-tracking
|
|
$(package)_config_opts += --enable-shared --disable-static --disable-docs
|
|
$(package)_config_opts += --disable-multi-os-directory
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf share
|
|
endef
|