python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libhdhomerun / libhdhomerun.mk
blob16e34c2383adb9c9d76d874bc974fdef2ae53ab4
1 ################################################################################
3 # libhdhomerun
5 ################################################################################
7 LIBHDHOMERUN_VERSION = 20150826
8 LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz
9 LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun
10 LIBHDHOMERUN_LICENSE = LGPLv2.1+
11 LIBHDHOMERUN_LICENSE_FILES = lgpl.txt
12 LIBHDHOMERUN_INSTALL_STAGING = YES
14 define LIBHDHOMERUN_BUILD_CMDS
15 $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \
16 CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D)
17 endef
19 define LIBHDHOMERUN_INSTALL_STAGING_CMDS
20 $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
21 $(STAGING_DIR)/usr/lib/libhdhomerun.so
22 mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/
23 $(INSTALL) -m 0644 $(@D)/*.h \
24 $(STAGING_DIR)/usr/include/libhdhomerun/
25 endef
27 define LIBHDHOMERUN_INSTALL_TARGET_CMDS
28 $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
29 $(TARGET_DIR)/usr/lib/libhdhomerun.so
30 endef
32 $(eval $(generic-package))