308487a626
Upstream now provides sha256 hash. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
830 B
Makefile
30 lines
830 B
Makefile
################################################################################
|
|
#
|
|
# dvblast
|
|
#
|
|
################################################################################
|
|
|
|
DVBLAST_VERSION = 3.1
|
|
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))
|