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
|
|
|
|
DVB_APPS_LICENSE = GPLv2 GPLv2+ LGPLv2.1+
|
|
|
|
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
|
|
|
|
|
2014-07-08 21:41:05 +02:00
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
DVB_APPS_MAKE_OPTS += static=1
|
|
|
|
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)" \
|
2014-07-08 21:41:05 +02:00
|
|
|
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
|
|
|
|
$(DVB_APPS_MAKE_OPTS)
|
2013-01-05 12:39:10 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVB_APPS_INSTALL_STAGING_CMDS
|
2014-07-08 21:41:05 +02:00
|
|
|
$(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
|
2014-07-08 21:41:05 +02:00
|
|
|
$(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))
|