2014-07-23 07:31:30 +02:00
|
|
|
package=qrencode
|
2015-07-03 18:58:33 +02:00
|
|
|
$(package)_version=3.4.4
|
2014-07-23 07:31:30 +02:00
|
|
|
$(package)_download_path=https://fukuchi.org/works/qrencode/
|
2019-01-03 10:18:47 +01:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
|
2015-07-03 18:58:33 +02:00
|
|
|
$(package)_sha256_hash=efe5188b1ddbcbf98763b819b146be6a90481aac30cfc8d858ab78a19cde1fa5
|
2014-07-23 07:31:30 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2019-08-24 04:44:46 +02:00
|
|
|
$(package)_config_opts=--disable-shared --without-tools --without-tests --disable-sdltest
|
|
|
|
$(package)_config_opts += --disable-gprof --disable-gcov --disable-mudflap
|
2019-10-18 21:40:22 +02:00
|
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
2014-11-12 00:21:23 +01:00
|
|
|
$(package)_config_opts_linux=--with-pic
|
2021-11-24 05:32:59 +01:00
|
|
|
$(package)_config_opts_android=--with-pic
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
2018-07-19 07:04:00 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub use
|
|
|
|
endef
|
|
|
|
|
2014-07-23 07:31:30 +02:00
|
|
|
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
|