Blame view

buildroot/buildroot-2016.08.1/package/libhdhomerun/libhdhomerun.mk 1005 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  ################################################################################
  #
  # libhdhomerun
  #
  ################################################################################
  
  LIBHDHOMERUN_VERSION = 20150826
  LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz
  LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun
  LIBHDHOMERUN_LICENSE = LGPLv2.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))