Makefile 982 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright (C) 2006-2008 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=fconfig
  9. PKG_VERSION:=20080329
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://downloads.openwrt.org/sources
  13. PKG_HASH:=4ff0e8f07e35e46b705c0dbe9d9544ede01ea092a69e3f7db03e55a3f2bb8eb7
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/fconfig
  17. SECTION:=utils
  18. CATEGORY:=Utilities
  19. SUBMENU:=Boot Loaders
  20. TITLE:=RedBoot configuration editor
  21. endef
  22. define Package/fconfig/description
  23. displays and (if writable) also edits the RedBoot configuration.
  24. endef
  25. define Build/Configure
  26. endef
  27. define Build/Compile
  28. $(call Build/Compile/Default)
  29. endef
  30. define Package/fconfig/install
  31. $(INSTALL_DIR) $(1)/usr/sbin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fconfig $(1)/usr/sbin/
  33. endef
  34. $(eval $(call BuildPackage,fconfig))