kumquat-buildroot/package/cfm/cfm.mk
Horatiu Vultur 3f9f84b6ba package/cfm: new package
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-27 00:08:11 +01:00

24 lines
620 B
Makefile

################################################################################
#
# cfm
#
################################################################################
CFM_VERSION = 0.3
CFM_SITE = $(call github,microchip-ung,cfm,v$(CFM_VERSION))
CFM_DEPENDENCIES = libev libmnl libnl
CFM_LICENSE = GPL-2.0
CFM_LICENSE_FILES = LICENSE
define CFM_INSTALL_INIT_SYSV
$(INSTALL) -m 755 -D $(CFM_PKGDIR)/S65cfm \
$(TARGET_DIR)/etc/init.d/S65cfm
endef
define CFM_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 $(CFM_PKGDIR)/cfm.service \
$(TARGET_DIR)/usr/lib/systemd/system/cfm.service
endef
$(eval $(cmake-package))