2015-02-09 21:22:18 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# batctl
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-05-21 19:29:59 +02:00
|
|
|
BATCTL_VERSION = 2017.0
|
2015-02-09 21:22:18 +01:00
|
|
|
BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
BATCTL_LICENSE = GPL-2.0
|
2015-02-09 21:22:18 +01:00
|
|
|
BATCTL_DEPENDENCIES = libnl host-pkgconf
|
|
|
|
|
|
|
|
define BATCTL_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BATCTL_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
PREFIX=/usr DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|