xorg-server: not available with musl on ARM
[buildroot-gz.git] / package / dvb-apps / dvb-apps.mk
blobc52252c816b3e251b641536e906b75031caaacb8
1 ################################################################################
3 # dvb-apps
5 ################################################################################
7 DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35
8 DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
9 DVB_APPS_SITE_METHOD = hg
10 DVB_APPS_LICENSE = GPLv2, GPLv2+, LGPLv2.1+
11 DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
13 ifeq ($(BR2_ENABLE_LOCALE),)
14 DVB_APPS_DEPENDENCIES = libiconv
15 DVB_APPS_LDLIBS += -liconv
16 endif
18 ifeq ($(BR2_STATIC_LIBS),y)
19 DVB_APPS_MAKE_OPTS += enable_shared=no
20 else ifeq ($(BR2_SHARED_LIBS),y)
21 DVB_APPS_MAKE_OPTS += enable_static=no
22 endif
24 DVB_APPS_INSTALL_STAGING = YES
26 define DVB_APPS_BUILD_CMDS
27 $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
28 $(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
29 $(DVB_APPS_MAKE_OPTS)
30 endef
32 define DVB_APPS_INSTALL_STAGING_CMDS
33 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
34 $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
35 endef
37 define DVB_APPS_INSTALL_TARGET_CMDS
38 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
39 $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
40 endef
42 $(eval $(generic-package))