2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-03-11 18:08:35 +01:00
|
|
|
#
|
|
|
|
# lzo
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2017-08-05 11:30:42 +02:00
|
|
|
LZO_VERSION = 2.10
|
2011-07-14 09:33:44 +02:00
|
|
|
LZO_SITE = http://www.oberhumer.com/opensource/lzo/download
|
2017-03-30 15:43:32 +02:00
|
|
|
LZO_LICENSE = GPL-2.0+
|
2012-05-17 19:33:16 +02:00
|
|
|
LZO_LICENSE_FILES = COPYING
|
2008-08-20 16:28:58 +02:00
|
|
|
LZO_INSTALL_STAGING = YES
|
2017-08-20 10:07:44 +02:00
|
|
|
LZO_SUPPORTS_IN_SOURCE_BUILD = NO
|
2008-08-20 16:28:58 +02:00
|
|
|
|
2017-09-02 16:28:53 +02:00
|
|
|
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
|
|
|
|
|
2018-08-21 23:59:51 +02:00
|
|
|
HOST_LZO_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
|
|
|
|
2017-08-20 10:07:44 +02:00
|
|
|
$(eval $(cmake-package))
|
|
|
|
$(eval $(host-cmake-package))
|