Blame view

buildroot/buildroot-2016.08.1/package/dante/dante.mk 893 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
33
34
  ################################################################################
  #
  # dante
  #
  ################################################################################
  
  DANTE_VERSION = 1.4.1
  DANTE_SITE = http://www.inet.no/dante/files
  DANTE_LICENSE = BSD-3c
  DANTE_LICENSE_FILES = LICENSE
  
  # Dante uses a *VERY* old configure.ac
  DANTE_LIBTOOL_PATCH = NO
  
  DANTE_CONF_OPTS += --disable-client --disable-preload
  
  define DANTE_INSTALL_CONFIG_FILE
  	$(INSTALL) -D -m 644 $(@D)/example/sockd.conf \
  		$(TARGET_DIR)/etc/sockd.conf
  endef
  
  DANTE_POST_INSTALL_TARGET_HOOKS += DANTE_INSTALL_CONFIG_FILE
  
  define DANTE_INSTALL_INIT_SYSTEMD
  	$(INSTALL) -D -m 644 package/dante/dante.service \
  		$(TARGET_DIR)/usr/lib/systemd/system/dante.service
  endef
  
  define DANTE_INSTALL_INIT_SYSV
  	$(INSTALL) -D -m 755 package/dante/S50dante \
  		$(TARGET_DIR)/etc/init.d/S50dante
  endef
  
  $(eval $(autotools-package))