2018-03-20 00:26:35 +00:00
|
|
|
package=unwind
|
|
|
|
$(package)_version=1.2
|
2018-11-24 13:31:49 +00:00
|
|
|
$(package)_download_path=https://download.savannah.nongnu.org/releases/libunwind
|
2018-03-20 00:26:35 +00:00
|
|
|
$(package)_file_name=lib$(package)-$($(package)_version).tar.gz
|
|
|
|
$(package)_sha256_hash=1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2018-03-19 23:33:49 +00:00
|
|
|
cp -f $(BASEDIR)/config.guess config/config.guess &&\
|
|
|
|
cp -f $(BASEDIR)/config.sub config/config.sub &&\
|
2019-11-13 13:50:17 +00:00
|
|
|
$($(package)_autoconf) --disable-shared --enable-static AR_FLAGS=$($(package)_arflags)
|
2018-03-20 00:26:35 +00: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 09:25:10 +00:00
|
|
|
rm lib/*.la
|
2018-03-20 00:26:35 +00:00
|
|
|
endef
|
2019-06-17 09:25:10 +00:00
|
|
|
|