2022-11-28 20:34:16 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libsolv
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-11-06 05:46:27 +08:00
|
|
|
LIBSOLV_VERSION = 0.7.25
|
2022-11-28 20:34:16 +08:00
|
|
|
LIBSOLV_SITE = $(call github,openSUSE,libsolv,$(LIBSOLV_VERSION))
|
|
|
|
LIBSOLV_LICENSE = BSD-3-Clause
|
|
|
|
LIBSOLV_LICENSE_FILES = LICENSE.BSD
|
2023-02-09 01:50:08 +08:00
|
|
|
LIBSOLV_CPE_ID_VENDOR = opensuse
|
2022-11-28 20:34:16 +08: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 22:43:15 +08:00
|
|
|
LIBSOLV_CONF_OPTS += -DENABLE_STATIC=OFF
|
2022-11-28 20:34:16 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
2023-02-12 22:43:15 +08:00
|
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=OFF
|
2022-11-28 20:34:16 +08:00
|
|
|
else
|
|
|
|
LIBSOLV_CONF_OPTS += -DDISABLE_SHARED=ON
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|