2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2012-12-28 04:48:34 -07:00
|
|
|
#
|
|
|
|
# dvb-apps
|
|
|
|
#
|
2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2012-12-28 04:48:34 -07:00
|
|
|
|
2014-03-27 18:00:26 -06: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 06:50:32 -07:00
|
|
|
|
2013-01-11 19:53:35 -07:00
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
2014-03-27 18:00:26 -06:00
|
|
|
DVB_APPS_DEPENDENCIES = libiconv
|
2014-05-27 03:27:23 -06:00
|
|
|
DVB_APPS_LDLIBS += -liconv
|
2013-01-11 19:53:35 -07:00
|
|
|
endif
|
|
|
|
|
2014-12-03 14:41:29 -07:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-07-08 13:41:05 -06:00
|
|
|
DVB_APPS_MAKE_OPTS += static=1
|
|
|
|
endif
|
|
|
|
|
2013-01-05 04:39:10 -07:00
|
|
|
DVB_APPS_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define DVB_APPS_BUILD_CMDS
|
2014-05-27 03:27:23 -06:00
|
|
|
$(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
|
2014-07-08 13:41:05 -06:00
|
|
|
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \
|
|
|
|
$(DVB_APPS_MAKE_OPTS)
|
2013-01-05 04:39:10 -07:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVB_APPS_INSTALL_STAGING_CMDS
|
2014-07-08 13:41:05 -06:00
|
|
|
$(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
|
2013-01-05 04:39:10 -07:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVB_APPS_INSTALL_TARGET_CMDS
|
2014-07-08 13:41:05 -06:00
|
|
|
$(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
2013-01-05 04:39:10 -07:00
|
|
|
endef
|
|
|
|
|
2012-12-28 04:48:34 -07:00
|
|
|
$(eval $(generic-package))
|