5dea966f89
Add hash for license files Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
830 B
Makefile
30 lines
830 B
Makefile
################################################################################
|
|
#
|
|
# dvblast
|
|
#
|
|
################################################################################
|
|
|
|
DVBLAST_VERSION = 3.3
|
|
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))
|