eee4504862
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
927 B
Makefile
36 lines
927 B
Makefile
################################################################################
|
|
#
|
|
# dvb-apps
|
|
#
|
|
################################################################################
|
|
|
|
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
|
|
|
|
DVB_APPS_LDFLAGS = $(TARGET_LDFLAGS)
|
|
|
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
|
DVB_APPS_DEPENDENCIES = libiconv
|
|
DVB_APPS_LDFLAGS += -liconv
|
|
endif
|
|
|
|
DVB_APPS_INSTALL_STAGING = YES
|
|
|
|
define DVB_APPS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) LDFLAGS="$(DVB_APPS_LDFLAGS)" \
|
|
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) V=1
|
|
endef
|
|
|
|
define DVB_APPS_INSTALL_STAGING_CMDS
|
|
$(MAKE) -C $(@D) V=1 DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define DVB_APPS_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) V=1 DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|