2022-06-02 12:50:33 +00:00
|
|
|
package=libgpg-error
|
2024-02-24 00:17:30 +00:00
|
|
|
$(package)_version=1.48
|
2022-06-02 12:50:33 +00:00
|
|
|
$(package)_download_path=https://www.gnupg.org/ftp/gcrypt/libgpg-error/
|
2023-06-29 10:54:13 +00:00
|
|
|
$(package)_file_name=libgpg-error-$($(package)_version).tar.bz2
|
2024-02-24 00:17:30 +00:00
|
|
|
$(package)_sha256_hash=89ce1ae893e122924b858de84dc4f67aae29ffa610ebf668d5aa539045663d6f
|
2022-06-02 12:50:33 +00:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
|
|
|
$(package)_build_opts=CFLAGS="-fPIE"
|
|
|
|
endef
|
|
|
|
|
2023-03-23 19:10:01 +00:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux
|
|
|
|
endef
|
|
|
|
|
2022-06-02 12:50:33 +00:00
|
|
|
define $(package)_config_cmds
|
2023-06-29 10:54:13 +00:00
|
|
|
$($(package)_autoconf) --enable-static --disable-shared --enable-install-gpg-error-config
|
2022-06-02 12:50:33 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE) $($(package)_build_opts)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|