1 ################################################################################
5 ################################################################################
7 DARKHTTPD_VERSION
= 1.12
8 DARKHTTPD_SITE
= https
://unix4lyfe.org
/darkhttpd
9 DARKHTTPD_SOURCE
= darkhttpd-
$(DARKHTTPD_VERSION
).
tar.bz2
10 DARKHTTPD_LICENSE
= MIT
12 define DARKHTTPD_BUILD_CMDS
13 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
)
16 define DARKHTTPD_INSTALL_TARGET_CMDS
17 $(INSTALL
) -D
-m
0755 $(@D
)/darkhttpd \
18 $(TARGET_DIR
)/usr
/sbin
/darkhttpd
21 define DARKHTTPD_INSTALL_INIT_SYSTEMD
22 $(INSTALL
) -D
-m
0644 package
/darkhttpd
/darkhttpd.service \
23 $(TARGET_DIR
)/usr
/lib
/systemd
/system
/darkhttpd.service
24 mkdir
-p
$(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
25 ln
-fs ..
/..
/..
/..
/usr
/lib
/systemd
/system
/darkhttpd.service \
26 $(TARGET_DIR
)/etc
/systemd
/system
/multi-user.target.wants
/darkhttpd.service
29 define DARKHTTPD_INSTALL_INIT_SYSV
30 $(INSTALL
) -D
-m
0755 package
/darkhttpd
/S50darkhttpd \
31 $(TARGET_DIR
)/etc
/init.d
/S50darkhttpd
34 $(eval
$(generic-package
))