Makefile 646 B

1234567891011121314151617181920212223242526272829
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-respondd
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/gluon-respondd
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Provides node information to the network
  10. DEPENDS:=+gluon-core +libplatforminfo +libgluonutil +respondd
  11. endef
  12. define Build/Prepare
  13. mkdir -p $(PKG_BUILD_DIR)
  14. $(CP) ./src/* $(PKG_BUILD_DIR)/
  15. endef
  16. define Package/gluon-respondd/install
  17. $(CP) ./files/* $(1)/
  18. $(INSTALL_DIR) $(1)/lib/gluon/respondd
  19. $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/respondd.so
  20. endef
  21. $(eval $(call BuildPackage,gluon-respondd))