| 1 |
package=qrencode |
| 2 |
$(package)_version=4.1.1 |
| 3 |
$(package)_download_path=https://fukuchi.org/works/qrencode/ |
| 4 |
$(package)_file_name=$(package)-$($(package)_version).tar.gz |
| 5 |
$(package)_sha256_hash=da448ed4f52aba6bcb0cd48cac0dd51b8692bccc4cd127431402fca6f8171e8e |
| 6 |
|
| 7 |
define $(package)_set_vars |
| 8 |
$(package)_config_opts=--disable-shared --without-tools --without-tests --disable-sdltest |
| 9 |
$(package)_config_opts += --disable-gprof --disable-gcov --disable-mudflap |
| 10 |
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking |
| 11 |
$(package)_config_opts_linux=--with-pic |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub use |
| 16 |
endef |
| 17 |
|
| 18 |
define $(package)_config_cmds |
| 19 |
$($(package)_autoconf) |
| 20 |
endef |
| 21 |
|
| 22 |
define $(package)_build_cmds |
| 23 |
$(MAKE) |
| 24 |
endef |
| 25 |
|
| 26 |
define $(package)_stage_cmds |
| 27 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 28 |
endef |
| 29 |
|
| 30 |
define $(package)_postprocess_cmds |
| 31 |
rm lib/*.la |
| 32 |
endef |