blob: 3571ff3c743490eda542602cdd7212b63eb16476 [file] [log] [blame]
################################################################################
#
# dvblast
#
################################################################################
DVBLAST_VERSION = 3.4
DVBLAST_SOURCE = dvblast-$(DVBLAST_VERSION).tar.bz2
DVBLAST_SITE = https://get.videolan.org/dvblast/$(DVBLAST_VERSION)
DVBLAST_LICENSE = GPL-2.0+, WTFPL
DVBLAST_LICENSE_FILES = COPYING COPYING.WTFPL
DVBLAST_DEPENDENCIES = bitstream libev
DVBLAST_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS)
ifeq ($(BR2_PACKAGE_LIBICONV),y)
DVBLAST_DEPENDENCIES += libiconv
DVBLAST_MAKE_ENV += LDLIBS=-liconv
endif
define DVBLAST_BUILD_CMDS
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define DVBLAST_INSTALL_TARGET_CMDS
$(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))