2015-10-18 14:34:11 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# dvblast
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
DVBLAST_VERSION = 3.0
|
|
|
|
DVBLAST_SOURCE = dvblast-$(DVBLAST_VERSION).tar.bz2
|
|
|
|
DVBLAST_SITE = https://get.videolan.org/dvblast/$(DVBLAST_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
DVBLAST_LICENSE = GPL-2.0+, WTFPL
|
2015-10-18 14:34:11 +02:00
|
|
|
DVBLAST_LICENSE_FILES = COPYING COPYING.WTFPL
|
|
|
|
DVBLAST_DEPENDENCIES = bitstream libev
|
|
|
|
|
2015-10-30 16:43:40 +01:00
|
|
|
DVBLAST_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
DVBLAST_DEPENDENCIES += libiconv
|
|
|
|
DVBLAST_MAKE_ENV += LDLIBS=-liconv
|
|
|
|
endif
|
|
|
|
|
2015-10-18 14:34:11 +02:00
|
|
|
define DVBLAST_BUILD_CMDS
|
2015-10-30 16:43:40 +01:00
|
|
|
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D)
|
2015-10-18 14:34:11 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DVBLAST_INSTALL_TARGET_CMDS
|
2015-10-30 16:43:40 +01:00
|
|
|
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
|
2015-10-18 14:34:11 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|