Makefile 680 B

1234567891011121314151617181920212223242526272829303132333435
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-alfred
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(GLUONDIR)/include/package.mk
  7. define Package/gluon-alfred
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. DEPENDS:=+gluon-core +gluon-respondd +gluon-neighbour-info gluon-mesh-batman-adv +micrond +alfred
  11. TITLE:=Configure alfred
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  20. endef
  21. define Package/gluon-alfred/install
  22. $(CP) ./files/* $(1)/
  23. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  24. endef
  25. $(eval $(call BuildPackage,gluon-alfred))