feather/contrib/depends/packages/libiconv.mk

30 lines
771 B
Makefile
Raw Normal View History

2022-06-02 12:50:33 +00:00
package=libiconv
2022-12-21 15:15:22 +00:00
$(package)_version=1.17
2022-06-02 12:50:33 +00:00
$(package)_download_path=https://ftp.gnu.org/gnu/libiconv
$(package)_file_name=libiconv-$($(package)_version).tar.gz
2022-12-21 15:15:22 +00:00
$(package)_sha256_hash=8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313
2022-06-02 12:50:33 +00:00
define $(package)_set_vars
$(package)_config_opts=--disable-nls
$(package)_config_opts=--enable-static
$(package)_config_opts=--disable-shared
$(package)_config_opts_linux=--with-pic
$(package)_config_opts_freebsd=--with-pic
endef
define $(package)_config_cmds
2022-12-21 15:15:22 +00:00
$($(package)_autoconf) AR_FLAGS=$($(package)_arflags)
2022-06-02 12:50:33 +00:00
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
define $(package)_postprocess_cmds
rm lib/*.la
endef