2018-03-19 18:26:35 -06:00
|
|
|
package=unwind
|
2021-09-11 11:51:46 -06:00
|
|
|
$(package)_version=1.5.0
|
2018-11-24 06:31:49 -07:00
|
|
|
$(package)_download_path=https://download.savannah.nongnu.org/releases/libunwind
|
2018-03-19 18:26:35 -06:00
|
|
|
$(package)_file_name=lib$(package)-$($(package)_version).tar.gz
|
2021-09-11 11:51:46 -06:00
|
|
|
$(package)_sha256_hash=90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017
|
2019-11-16 09:13:06 -07:00
|
|
|
$(package)_patches=fix_obj_order.patch
|
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
patch -p0 < $($(package)_patch_dir)/fix_obj_order.patch
|
|
|
|
endef
|
2018-03-19 18:26:35 -06:00
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2018-03-19 17:33:49 -06:00
|
|
|
cp -f $(BASEDIR)/config.guess config/config.guess &&\
|
|
|
|
cp -f $(BASEDIR)/config.sub config/config.sub &&\
|
2021-09-11 11:51:46 -06:00
|
|
|
$($(package)_autoconf) --disable-shared --enable-static --disable-tests --disable-documentation AR_FLAGS=$($(package)_arflags)
|
2018-03-19 18:26:35 -06:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
2019-06-17 03:25:10 -06:00
|
|
|
rm lib/*.la
|
2018-03-19 18:26:35 -06:00
|
|
|
endef
|
2019-06-17 03:25:10 -06:00
|
|
|
|