buildroot/package/synergy/synergy.mk
Fabrice Fontaine 778e2e0467 package/synergy: add SYNERGY_CPE_ID_VENDOR
cpe:2.3🅰️symless:synergy is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Asymless%3Asynergy

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-19 22:26:38 +02:00

40 lines
1.1 KiB
Makefile

################################################################################
#
# synergy
#
################################################################################
SYNERGY_VERSION = 2.0.12-beta
SYNERGY_SITE = $(call github,symless,synergy-core,v$(SYNERGY_VERSION))
SYNERGY_LICENSE = GPL-2.0
SYNERGY_LICENSE_FILES = LICENSE
SYNERGY_CPE_ID_VENDOR = symless
SYNERGY_DEPENDENCIES = xlib_libX11 xlib_libXtst
# Avoid using buildroot commit hash inside cmake/Version.cmake
# by setting SYNERGY_VERSION_STAGE != snapshot
SYNERGY_CONF_ENV += SYNERGY_VERSION_STAGE="beta"
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
SYNERGY_DEPENDENCIES += xlib_libXext
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
SYNERGY_DEPENDENCIES += xlib_libXi
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
SYNERGY_DEPENDENCIES += xlib_libXinerama
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
SYNERGY_DEPENDENCIES += xlib_libXrandr
endif
define SYNERGY_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/bin/synergyc $(TARGET_DIR)/usr/bin/synergyc
$(INSTALL) -D -m 0755 $(@D)/bin/synergys $(TARGET_DIR)/usr/bin/synergys
endef
$(eval $(cmake-package))