Makefile 798 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-debug
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(TOPDIR)/../package/gluon.mk
  7. define Package/ffho-debug
  8. SECTION:=ffho
  9. CATEGORY:=FFHO
  10. TITLE:=Debug scripts for Freifunk Hochstift
  11. DEPENDS:=+gluon-core
  12. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  13. endef
  14. define Package/ffho-debug/description
  15. Debug scripts for FFHO
  16. endef
  17. define Build/Prepare
  18. mkdir -p $(PKG_BUILD_DIR)
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  24. endef
  25. define Package/ffho-debug/install
  26. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  27. endef
  28. $(eval $(call BuildPackage,ffho-debug))