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/
|
2018-08-06 21:40:20 +02:00
|
|
|
$(package)_file_name=qrencode-$(qrencode_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-07-10 11:31:36 +02:00
|
|
|
$(package)_config_opts=--disable-shared --without-tools --without-tests --disable-sdltest
|
|
|
|
$(package)_config_opts += --disable-gprof --disable-gcov --disable-mudflap
|
2014-11-12 00:21:23 +01:00
|
|
|
$(package)_config_opts_linux=--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-04-18 19:49:11 +02:00
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
|
|
|
rm lib/*.la
|
|
|
|
endef
|