27 lines
729 B
Makefile
27 lines
729 B
Makefile
package=qrencode
|
|
$(package)_version=4.1.1
|
|
$(package)_download_path=https://github.com/fukuchi/libqrencode/archive/v$($(package)_version)/
|
|
$(package)_file_name=lib$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --without-tools
|
|
$(package)_config_opts_linux=--with-pic
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
./autogen.sh && cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
|
|
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
|