2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-28 12:48:34 +01:00
|
|
|
#
|
|
|
|
# dvb-apps
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-28 12:48:34 +01:00
|
|
|
|
2014-03-28 01:00:26 +01:00
|
|
|
DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35
|
|
|
|
DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
|
|
|
|
DVB_APPS_SITE_METHOD = hg
|
2017-03-30 15:43:34 +02:00
|
|
|
DVB_APPS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+
|
2014-03-28 01:00:26 +01:00
|
|
|
DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
|
2013-01-12 14:50:32 +01:00
|
|
|
|
2013-01-12 03:53:35 +01:00
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
2014-03-28 01:00:26 +01:00
|
|
|
DVB_APPS_DEPENDENCIES = libiconv
|
2014-05-27 11:27:23 +02:00
|
|
|
DVB_APPS_LDLIBS += -liconv
|
2013-01-12 03:53:35 +01:00
|
|
|
endif
|
|
|
|
|
2017-11-27 11:48:54 +01:00
|
|
|
DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan
|
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-01-06 23:29:37 +01:00
|
|
|
DVB_APPS_MAKE_OPTS += enable_shared=no
|
|
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
|
|
DVB_APPS_MAKE_OPTS += enable_static=no
|
2014-07-08 21:41:05 +02:00
|
|
|
endif
|
|
|
|
|
2013-01-05 12:39:10 +01:00
|
|
|
DVB_APPS_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define DVB_APPS_BUILD_CMDS
|
2014-05-27 11:27:23 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
|
2017-11-27 11:48:55 +01:00
|
|
|
$(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
|
2014-07-08 21:41:05 +02:00
|
|
|
$(DVB_APPS_MAKE_OPTS)
|
2013-01-05 12:39:10 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVB_APPS_INSTALL_STAGING_CMDS
|
2016-10-17 18:06:02 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
$(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
2013-01-05 12:39:10 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVB_APPS_INSTALL_TARGET_CMDS
|
2016-10-17 18:06:02 +02:00
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
$(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
2013-01-05 12:39:10 +01:00
|
|
|
endef
|
|
|
|
|
2012-12-28 12:48:34 +01:00
|
|
|
$(eval $(generic-package))
|