Makefile 917 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-domain-migration
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(TOPDIR)/../package/gluon.mk
  6. define Package/ffho-domain-migration
  7. SECTION:=ffho
  8. CATEGORY:=FFHO
  9. TITLE:=Migration script for gluon multidomain support
  10. DEPENDS:=+gluon-core @GLUON_MULTIDOMAIN
  11. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  12. endef
  13. define Package/ffho-domain-migration/description
  14. Migration script for gluon multidomain support
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  23. endef
  24. define Package/ffho-domain-migration/install
  25. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  26. endef
  27. define Package/ffho-domain-migration/postinst
  28. #!/bin/sh
  29. $(call GluonCheckSite,check_site.lua)
  30. endef
  31. $(eval $(call BuildPackage,ffho-domain-migration))