gluon/package/gluon-radvd/Makefile

39 lines
746 B
Makefile
Raw Normal View History

2014-01-11 15:05:17 +00:00
include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-radvd
PKG_VERSION:=3
2014-01-11 15:05:17 +00:00
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
2016-07-10 18:08:44 +00:00
include $(GLUONDIR)/include/package.mk
2014-01-11 15:05:17 +00:00
define Package/gluon-radvd
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Advertise an IPv6 prefix from the node
DEPENDS:=+gluon-core +uradvd
2014-01-11 15:05:17 +00:00
endef
define Package/gluon-radvd/description
Gluon community wifi mesh firmware framework: Advertise an IPv6 prefix from the node
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
2016-07-10 18:08:44 +00:00
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
2014-01-11 15:05:17 +00:00
endef
define Package/gluon-radvd/install
$(CP) ./files/* $(1)/
2016-07-10 18:08:44 +00:00
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
2014-01-11 15:05:17 +00:00
endef
$(eval $(call BuildPackage,gluon-radvd))