Bump buidlroot version to 2018.02.6
This commit is contained in:
6
bsp/buildroot/package/leptonica/Config.in
Normal file
6
bsp/buildroot/package/leptonica/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LEPTONICA
|
||||
bool "leptonica"
|
||||
help
|
||||
Leptonica is an image processing and image analysis library.
|
||||
|
||||
http://www.leptonica.org/
|
||||
2
bsp/buildroot/package/leptonica/leptonica.hash
Normal file
2
bsp/buildroot/package/leptonica/leptonica.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed hash
|
||||
sha256 29c35426a416bf454413c6fec24c24a0b633e26144a17e98351b6dffaa4a833b leptonica-1.74.4.tar.gz
|
||||
65
bsp/buildroot/package/leptonica/leptonica.mk
Normal file
65
bsp/buildroot/package/leptonica/leptonica.mk
Normal file
@@ -0,0 +1,65 @@
|
||||
################################################################################
|
||||
#
|
||||
# leptonica
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LEPTONICA_VERSION = 1.74.4
|
||||
LEPTONICA_SITE = http://www.leptonica.org/source
|
||||
LEPTONICA_LICENSE = BSD-2-Clause
|
||||
LEPTONICA_LICENSE_FILES = leptonica-license.txt
|
||||
LEPTONICA_INSTALL_STAGING = YES
|
||||
LEPTONICA_DEPENDENCIES = host-pkgconf
|
||||
|
||||
LEPTONICA_CONF_OPTS += --disable-programs
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GIFLIB),y)
|
||||
LEPTONICA_DEPENDENCIES += giflib
|
||||
LEPTONICA_CONF_OPTS += --with-giflib
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-giflib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
LEPTONICA_DEPENDENCIES += jpeg
|
||||
LEPTONICA_CONF_OPTS += --with-jpeg
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
LEPTONICA_DEPENDENCIES += libpng
|
||||
LEPTONICA_CONF_OPTS += --with-libpng
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-libpng
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
|
||||
LEPTONICA_DEPENDENCIES += openjpeg
|
||||
LEPTONICA_CONF_OPTS += --with-libopenjpeg
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-libopenjpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF),y)
|
||||
LEPTONICA_DEPENDENCIES += tiff
|
||||
LEPTONICA_CONF_OPTS += --with-libtiff
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-libtiff
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBP),y)
|
||||
LEPTONICA_DEPENDENCIES += webp
|
||||
LEPTONICA_CONF_OPTS += --with-libwebp
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-libwebp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
LEPTONICA_DEPENDENCIES += zlib
|
||||
LEPTONICA_CONF_OPTS += --with-zlib
|
||||
else
|
||||
LEPTONICA_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user