generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
20
package/libqrencode/Config.in
Normal file
20
package/libqrencode/Config.in
Normal file
@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_LIBQRENCODE
|
||||
bool "libqrencode"
|
||||
help
|
||||
libqrencode is a C library for encoding data in a QR Code
|
||||
symbol, a kind of 2D symbology that can be scanned by handy
|
||||
terminals such as a mobile phone with CCD. The capacity of
|
||||
QR Code is up to 7000 digits or 4000 characters, and is
|
||||
highly robust.
|
||||
|
||||
http://fukuchi.org/works/qrencode/index.html
|
||||
|
||||
if BR2_PACKAGE_LIBQRENCODE
|
||||
|
||||
config BR2_PACKAGE_LIBQRENCODE_TOOLS
|
||||
bool "libqrencode tools"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
Build command-line tools
|
||||
|
||||
endif #BR2_PACKAGE_LIBQRENCODE
|
||||
5
package/libqrencode/libqrencode.hash
Normal file
5
package/libqrencode/libqrencode.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From http://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz.sha
|
||||
sha512 209bb656ae3f391b03c7b3ceb03e34f7320b0105babf48b619e7a299528b8828449e0e7696f0b5db0d99170a81709d0518e34835229a748701e7df784e58a9ce qrencode-4.1.1.tar.gz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
|
||||
34
package/libqrencode/libqrencode.mk
Normal file
34
package/libqrencode/libqrencode.mk
Normal file
@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# libqrencode
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBQRENCODE_VERSION = 4.1.1
|
||||
LIBQRENCODE_SOURCE = qrencode-$(LIBQRENCODE_VERSION).tar.gz
|
||||
LIBQRENCODE_SITE = http://fukuchi.org/works/qrencode
|
||||
LIBQRENCODE_DEPENDENCIES = host-pkgconf
|
||||
LIBQRENCODE_INSTALL_STAGING = YES
|
||||
LIBQRENCODE_LICENSE = LGPL-2.1+
|
||||
LIBQRENCODE_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
||||
else
|
||||
LIBQRENCODE_CONF_OPTS += --disable-thread-safety
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
LIBQRENCODE_CONF_OPTS += --with-png
|
||||
LIBQRENCODE_DEPENDENCIES += libpng
|
||||
else
|
||||
LIBQRENCODE_CONF_OPTS += --without-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
||||
LIBQRENCODE_CONF_OPTS += --with-tools=yes
|
||||
else
|
||||
LIBQRENCODE_CONF_OPTS += --with-tools=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user