Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-openwrt-migration-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-openwrt-migration-tools
  8. SECTION:=ffho
  9. CATEGORY:=Gluon
  10. TITLE:=Toolset of scripts that support the migration from one version of OpenWRT to another.
  11. DEPENDS:=+gluon-core +busybox +hostapd-common +netifd
  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-openwrt-migration-tools/description
  17. A collection of scripts that fix and cleanup configurations on a node
  18. when migrating the Gluon base-version of OpenWRT from one major release
  19. to another.
  20. endef
  21. define Build/Prepare
  22. mkdir -p $(PKG_BUILD_DIR)
  23. endef
  24. define Build/Configure
  25. endef
  26. define Build/Compile
  27. endef
  28. define Package/ffho-openwrt-migration-tools/preinst
  29. endef
  30. define Package/ffho-openwrt-migration-tools/install
  31. $(INSTALL_DIR) $(1)/etc/uci-defaults/
  32. $(INSTALL_BIN) ./files/etc/uci-defaults/90-tl-841v10-autoupdater-to-stable $(1)/etc/uci-defaults/
  33. endef
  34. $(eval $(call BuildPackage,ffho-openwrt-migration-tools))