kumquat-buildroot/package/darkhttpd/darkhttpd.mk
Fabrice Fontaine b27b4adaa4 package/darkhttpd: add DARKHTTPD_CPE_ID_VENDOR
cpe:2.3🅰️darkhttpd_project:darkhttpd is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Adarkhttpd_project%3Adarkhttpd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-06-28 00:33:27 +02:00

33 lines
910 B
Makefile

################################################################################
#
# darkhttpd
#
################################################################################
DARKHTTPD_VERSION = 1.13
DARKHTTPD_SITE = $(call github,emikulic,darkhttpd,v$(DARKHTTPD_VERSION))
DARKHTTPD_LICENSE = MIT
DARKHTTPD_LICENSE_FILES = darkhttpd.c
DARKHTTPD_CPE_ID_VENDOR = darkhttpd_project
define DARKHTTPD_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define DARKHTTPD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/darkhttpd \
$(TARGET_DIR)/usr/sbin/darkhttpd
endef
define DARKHTTPD_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/darkhttpd/darkhttpd.service \
$(TARGET_DIR)/usr/lib/systemd/system/darkhttpd.service
endef
define DARKHTTPD_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/darkhttpd/S50darkhttpd \
$(TARGET_DIR)/etc/init.d/S50darkhttpd
endef
$(eval $(generic-package))