kumquat-buildroot/package/libhdhomerun/libhdhomerun.mk
Rahul Bedarkar 30a3e8d108 boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:18:10 +02:00

33 lines
1005 B
Makefile

################################################################################
#
# libhdhomerun
#
################################################################################
LIBHDHOMERUN_VERSION = 20150826
LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz
LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun
LIBHDHOMERUN_LICENSE = LGPL-2.1+
LIBHDHOMERUN_LICENSE_FILES = lgpl.txt
LIBHDHOMERUN_INSTALL_STAGING = YES
define LIBHDHOMERUN_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
endef
define LIBHDHOMERUN_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
$(STAGING_DIR)/usr/lib/libhdhomerun.so
mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/
$(INSTALL) -m 0644 $(@D)/*.h \
$(STAGING_DIR)/usr/include/libhdhomerun/
endef
define LIBHDHOMERUN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
$(TARGET_DIR)/usr/lib/libhdhomerun.so
endef
$(eval $(generic-package))