kumquat-buildroot/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk
Fabrice Fontaine 68436b2335 package/x11r7/xlib_libXfont2: add CPE variables
cpe:2.3🅰️x:libxfont is a valid CPE identifier for this package:

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-15 13:32:40 +02:00

48 lines
1.3 KiB
Makefile

################################################################################
#
# xlib_libXfont2
#
################################################################################
XLIB_LIBXFONT2_VERSION = 2.0.4
XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2
XLIB_LIBXFONT2_SITE = http://xorg.freedesktop.org/releases/individual/lib
XLIB_LIBXFONT2_LICENSE = MIT
XLIB_LIBXFONT2_LICENSE_FILES = COPYING
XLIB_LIBXFONT2_CPE_ID_VENDOR = x
XLIB_LIBXFONT2_CPE_ID_PRODUCT = libxfont
XLIB_LIBXFONT2_INSTALL_STAGING = YES
# 0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch
XLIB_LIBXFONT2_AUTORECONF = YES
XLIB_LIBXFONT2_DEPENDENCIES = \
freetype \
xlib_libfontenc \
xlib_xtrans \
xorgproto \
xfont_encodings
ifeq ($(BR2_PACKAGE_LIBBSD),y)
XLIB_LIBXFONT2_DEPENDENCIES += libbsd
endif
HOST_XLIB_LIBXFONT2_DEPENDENCIES = \
host-freetype \
host-xlib_libfontenc \
host-xlib_xtrans \
host-xorgproto \
host-xfont_encodings
XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
XLIB_LIBXFONT2_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
XLIB_LIBXFONT2_CFLAGS += -O0
endif
XLIB_LIBXFONT2_CONF_ENV = CFLAGS="$(XLIB_LIBXFONT2_CFLAGS)"
$(eval $(autotools-package))
$(eval $(host-autotools-package))