kumquat-buildroot/package/alfred/alfred.mk
José Pekkarinen b61366f3cc package/alfred: new package
Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-05 23:38:53 +01:00

26 lines
745 B
Makefile

################################################################################
#
# alfred
#
################################################################################
ALFRED_VERSION = 2021.4
ALFRED_SITE = https://downloads.open-mesh.org/batman/stable/sources/alfred
ALFRED_LICENSE = GPL-2.0
ALFRED_LICENSE_FILES = LICENSES/preferred/GPL-2.0
ALFRED_DEPENDENCIES = libnl
define ALFRED_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) \
CONFIG_ALFRED_CAPABILITIES=n \
CONFIG_ALFRED_GPSD=n
endef
define ALFRED_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/alfred $(TARGET_DIR)/usr/bin/alfred
$(INSTALL) -m 0755 -D $(@D)/vis/batadv-vis $(TARGET_DIR)/usr/bin/batadv-vis
endef
$(eval $(generic-package))