![Fabrice Fontaine](/assets/img/avatar_default.png)
This used to cause a build failure with gettext-tiny, but this is now
fixed by the version bump in 160f0a033b
("package/gettext-tiny: bump version"). Nevertheless, it makes sense
to not install the i18n files when they are not needed, i.e when
BR2_SYSTEM_ENABLE_NLS is disabled.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# vdr-plugin-vnsiserver
|
|
#
|
|
################################################################################
|
|
|
|
VDR_PLUGIN_VNSISERVER_VERSION = 1.8.0
|
|
VDR_PLUGIN_VNSISERVER_SITE = $(call github,FernetMenta,vdr-plugin-vnsiserver,v$(VDR_PLUGIN_VNSISERVER_VERSION))
|
|
VDR_PLUGIN_VNSISERVER_LICENSE = GPL-2.0+
|
|
VDR_PLUGIN_VNSISERVER_LICENSE_FILES = COPYING
|
|
VDR_PLUGIN_VNSISERVER_DEPENDENCIES = vdr
|
|
|
|
VDR_PLUGIN_VNSISERVER_CXXFLAGS = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11 -fPIC"
|
|
|
|
VDR_PLUGIN_VNSISERVER_INSTALL_TARGETS = install-lib
|
|
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
|
VDR_PLUGIN_VNSISERVER_INSTALL_TARGETS += install-i18n
|
|
endif
|
|
|
|
define VDR_PLUGIN_VNSISERVER_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
$(VDR_PLUGIN_VNSISERVER_CXXFLAGS)
|
|
endef
|
|
|
|
define VDR_PLUGIN_VNSISERVER_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
$(VDR_PLUGIN_VNSISERVER_INSTALL_TARGETS) DESTDIR=$(TARGET_DIR) \
|
|
LIBDIR=/usr/lib/vdr LOCDIR=/usr/share/locale
|
|
endef
|
|
|
|
$(eval $(generic-package))
|