2018-09-18 14:26:18 +02:00
|
|
|
package=gmp
|
2024-10-06 21:36:29 +02:00
|
|
|
$(package)_version=6.3.0
|
|
|
|
$(package)_download_path=https://ftp.gnu.org/gnu/gmp
|
2018-09-18 14:26:18 +02:00
|
|
|
$(package)_file_name=gmp-$($(package)_version).tar.bz2
|
2024-10-06 21:36:29 +02:00
|
|
|
$(package)_sha256_hash=ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb
|
2018-09-18 14:26:18 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2024-10-06 21:36:29 +02:00
|
|
|
$(package)_config_opts += --disable-shared --enable-cxx --enable-fat
|
2024-10-05 19:40:33 +02:00
|
|
|
$(package)_cflags_aarch64 += -march=armv8-a
|
|
|
|
$(package)_cflags_armv7l += -march=armv7-a
|
|
|
|
$(package)_cflags_x86_64 += -march=x86-64
|
2018-09-18 14:26:18 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
|
|
|
$($(package)_autoconf)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
|
|
|
|
2019-06-05 16:34:12 +02:00
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|