mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
6
package/lzo/Config.in
Normal file
6
package/lzo/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LZO
|
||||
bool "lzo"
|
||||
help
|
||||
Portable lossless data compression library written in ANSI C.
|
||||
|
||||
http://www.oberhumer.com/opensource/lzo/
|
||||
5
package/lzo/lzo.hash
Normal file
5
package/lzo/lzo.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From http://www.oberhumer.com/opensource/lzo/
|
||||
sha1 4924676a9bae5db58ef129dc1cebce3baa3c4b5d lzo-2.10.tar.gz
|
||||
# Locally computed
|
||||
sha256 c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072 lzo-2.10.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
29
package/lzo/lzo.mk
Normal file
29
package/lzo/lzo.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# lzo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZO_VERSION = 2.10
|
||||
LZO_SITE = http://www.oberhumer.com/opensource/lzo/download
|
||||
LZO_LICENSE = GPL-2.0+
|
||||
LZO_LICENSE_FILES = COPYING
|
||||
LZO_INSTALL_STAGING = YES
|
||||
LZO_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LZO_CONF_OPTS += -DENABLE_SHARED=ON
|
||||
else
|
||||
LZO_CONF_OPTS += -DENABLE_SHARED=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LZO_CONF_OPTS += -DENABLE_STATIC=ON
|
||||
else
|
||||
LZO_CONF_OPTS += -DENABLE_STATIC=OFF
|
||||
endif
|
||||
|
||||
HOST_LZO_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user