2015-12-13 14:39:23 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libhdhomerun
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBHDHOMERUN_VERSION = 20150826
|
|
|
|
LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz
|
|
|
|
LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBHDHOMERUN_LICENSE = LGPL-2.1+
|
2015-12-13 14:39:23 +01:00
|
|
|
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
|
2016-01-23 10:44:56 +01:00
|
|
|
mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/
|
2015-12-13 14:39:23 +01:00
|
|
|
$(INSTALL) -m 0644 $(@D)/*.h \
|
2016-01-23 10:44:56 +01:00
|
|
|
$(STAGING_DIR)/usr/include/libhdhomerun/
|
2015-12-13 14:39:23 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LIBHDHOMERUN_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
|
|
|
|
$(TARGET_DIR)/usr/lib/libhdhomerun.so
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|