2016-08-02 23:25:47 +00:00
|
|
|
modules += qrencode
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
qrencode_output := .libs/libqrencode.so.$(qrencode_version)
|
2016-12-28 17:45:12 +00:00
|
|
|
|
|
|
|
qrencode_configure := ./configure \
|
2016-12-29 23:23:08 +00:00
|
|
|
CC="$(heads_cc)" \
|
2017-01-28 18:14:56 +00:00
|
|
|
--prefix "" \
|
2016-12-28 17:45:12 +00:00
|
|
|
--without-tools \
|
2017-01-04 21:39:10 +00:00
|
|
|
--host i386-elf-linux \
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2017-01-28 18:14:56 +00:00
|
|
|
qrencode_target := -j 8 \
|
|
|
|
&& $(MAKE) \
|
|
|
|
-C "$(build)/$(qrencode_dir)" \
|
|
|
|
prefix="$(INSTALL)" \
|
|
|
|
install
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
qrencode_depends := $(musl_dep)
|