mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 21:03:28 +01:00
30 lines
876 B
Makefile
30 lines
876 B
Makefile
package=unwind
|
|
$(package)_version=1.5.0
|
|
$(package)_download_path=https://download.savannah.nongnu.org/releases/libunwind
|
|
$(package)_file_name=lib$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017
|
|
$(package)_patches=fix_obj_order.patch
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p0 < $($(package)_patch_dir)/fix_obj_order.patch
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
cp -f $(BASEDIR)/config.guess config/config.guess &&\
|
|
cp -f $(BASEDIR)/config.sub config/config.sub &&\
|
|
$($(package)_autoconf) --disable-shared --enable-static --disable-tests --disable-documentation AR_FLAGS=$($(package)_arflags)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm lib/*.la
|
|
endef
|
|
|