2017-12-26 22:10:06 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgta
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-10-07 23:11:09 +02:00
|
|
|
LIBGTA_VERSION = 1.2.1
|
|
|
|
LIBGTA_SITE = https://marlam.de/gta/releases
|
2017-12-26 22:10:06 +01:00
|
|
|
LIBGTA_SOURCE = libgta-$(LIBGTA_VERSION).tar.xz
|
|
|
|
LIBGTA_INSTALL_STAGING = YES
|
|
|
|
LIBGTA_DEPENDENCIES = host-pkgconf bzip2 xz zlib
|
|
|
|
LIBGTA_LICENSE = LGPL-2.1+
|
|
|
|
LIBGTA_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
LIBGTA_CONF_OPTS += -DGTA_BUILD_DOCUMENTATION=OFF
|
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),)
|
|
|
|
LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=ON
|
|
|
|
else
|
|
|
|
LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_SHARED_LIBS),)
|
|
|
|
LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=ON
|
|
|
|
else
|
|
|
|
LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|