Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-upgrade-tools
  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 $(INCLUDE_DIR)/package.mk
  7. define Package/ffho-upgrade-tools
  8. SECTION:=ffho
  9. CATEGORY:=Gluon
  10. TITLE:=Toolset of scripts that support the migration from one ffho-firmware to another.
  11. DEPENDS:=+gluon-core +busybox
  12. MAINTAINER:=Freifunk Hochstift <maschinenraum@paderborn.freifunk.net>
  13. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  14. SOURCE:=git@git.c3pb.de:freifunk-pb/ffho-packages.git
  15. endef
  16. define Package/ffho-upgrade-tools/description
  17. A collection of scripts that fix and cleanup configurations on a node
  18. when upgrading the firmware.
  19. endef
  20. define Build/Prepare
  21. mkdir -p $(PKG_BUILD_DIR)
  22. endef
  23. define Build/Configure
  24. endef
  25. define Build/Compile
  26. endef
  27. define Package/ffho-upgrade-tools/preinst
  28. endef
  29. define Package/ffho-upgrade-tools/install
  30. $(CP) ./files/* $(1)/
  31. endef
  32. $(eval $(call BuildPackage,ffho-upgrade-tools))