mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
31 lines
949 B
Makefile
31 lines
949 B
Makefile
package=libgpg-error
|
|
$(package)_version=1.59
|
|
$(package)_download_path=https://www.gnupg.org/ftp/gcrypt/libgpg-error/
|
|
$(package)_file_name=libgpg-error-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=e14e36687fb2d63991007504ba228e94268be67b8445807e7d9fd2510daaf723
|
|
$(package)_patches=no-programs.patch
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts := --enable-static --disable-shared
|
|
$(package)_config_opts += --disable-doc --disable-tests
|
|
$(package)_config_opts += --enable-install-gpg-error-config
|
|
$(package)_build_opts := CFLAGS="-fPIE"
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/no-programs.patch && \
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) $($(package)_build_opts)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|