mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-14 07:03:29 +01:00
f0fc4064a0
Further speedups to icu compilation, it is faster to run the pre-generated configure scripts. Ensure that the native protobuf installation only generates the required libraries and binaries. Disable qt compilation when running travis on windows. Qt is used for lrelease, the travis recipe instead usese the a local installation of lrelease. Remove various packages and options from the travis recipe. Update Readline to version 8.0. The previously used url 404'd sometimes, use the official gnu ftp server instead. Remove unused cmake config.
30 lines
1023 B
Makefile
30 lines
1023 B
Makefile
package=readline
|
|
$(package)_version=8.0
|
|
$(package)_download_path=https://ftp.gnu.org/gnu/readline
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461
|
|
|
|
define $(package)_set_vars
|
|
$(package)_build_opts=CC="$($(package)_cc)"
|
|
$(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)"
|
|
$(package)_config_opts=--prefix=$(host_prefix)
|
|
$(package)_config_opts+=--disable-shared --enable-multibye --without-purify --without-curses
|
|
$(package)_config_opts_release=--disable-debug-mode
|
|
$(package)_build_opts=CFLAGS="$($(package)_cflags) $($(package)_cppflags) -fPIC"
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
export bash_cv_have_mbstate_t=yes &&\
|
|
export bash_cv_wcwidth_broken=yes &&\
|
|
./configure $($(package)_config_opts)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) $($(package)_build_opts)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|