2017-03-31 15:18:46 +00:00
|
|
|
modules-$(CONFIG_QRENCODE) += qrencode
|
2016-08-02 23:25:47 +00:00
|
|
|
|
|
|
|
qrencode_version := 3.4.4
|
|
|
|
qrencode_dir := qrencode-$(qrencode_version)
|
|
|
|
qrencode_tar := qrencode-$(qrencode_version).tar.gz
|
|
|
|
qrencode_url := https://fukuchi.org/works/qrencode/$(qrencode_tar)
|
|
|
|
qrencode_hash := e794e26a96019013c0e3665cb06b18992668f352c5553d0a553f5d144f7f2a72
|
|
|
|
|
2017-03-29 19:15:03 +00:00
|
|
|
qrencode_libraries := .libs/libqrencode.so.3
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
qrencode_configure := \
|
|
|
|
CFLAGS="-Os" \
|
|
|
|
./configure \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2024-01-29 03:55:11 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2017-04-08 17:23:34 +00:00
|
|
|
--prefix "/" \
|
2016-12-28 17:45:12 +00:00
|
|
|
--without-tools \
|
|
|
|
|
2017-04-08 17:23:34 +00:00
|
|
|
qrencode_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
2017-01-28 18:14:56 +00:00
|
|
|
&& $(MAKE) \
|
|
|
|
-C "$(build)/$(qrencode_dir)" \
|
2017-04-08 17:23:34 +00:00
|
|
|
DESTDIR="$(INSTALL)" \
|
2017-01-28 18:14:56 +00:00
|
|
|
install
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
qrencode_depends := $(musl_dep)
|