2022-11-28 13:34:16 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libsolv
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-11-05 22:46:27 +01:00
|
|
|
LIBSOLV_VERSION = 0.7.25
|
2022-11-28 13:34:16 +01:00
|
|
|
LIBSOLV_SITE = $(call github,openSUSE,libsolv,$(LIBSOLV_VERSION))
|
|
|
|
LIBSOLV_LICENSE = BSD-3-Clause
|
|
|
|
LIBSOLV_LICENSE_FILES = LICENSE.BSD
|
2023-02-08 18:50:08 +01:00
|
|
|
LIBSOLV_CPE_ID_VENDOR = opensuse
|
2022-11-28 13:34:16 +01:00
|
|
|
LIBSOLV_INSTALL_STAGING = YES
|
|
|
|
LIBSOLV_DEPENDENCIES = zlib
|
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
|
|
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=ON
|
|
|
|
else
|
2023-02-12 15:43:15 +01:00
|
|
|
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=OFF
|
2022-11-28 13:34:16 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
2023-02-12 15:43:15 +01:00
|
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=OFF
|
2022-11-28 13:34:16 +01:00
|
|
|
else
|
|
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=ON
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|