af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
830 B
Makefile
30 lines
830 B
Makefile
################################################################################
|
|
#
|
|
# dvblast
|
|
#
|
|
################################################################################
|
|
|
|
DVBLAST_VERSION = 3.0
|
|
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))
|