hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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
################################################################################
#
# daemon
#
################################################################################
 
DAEMON_VERSION = 0.6.4
DAEMON_SITE = http://libslack.org/daemon/download
DAEMON_LICENSE = GPL-2.0+
DAEMON_LICENSE_FILES = LICENSE
 
define DAEMON_CONFIGURE_CMDS
   (cd $(@D); ./config)
endef
 
define DAEMON_BUILD_CMDS
   $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) ready
   $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
 
define DAEMON_INSTALL_TARGET_CMDS
   $(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \
       $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
       install-daemon-bin
endef
 
$(eval $(generic-package))