Makefile 811 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=robocfg
  10. PKG_VERSION:=0.01
  11. PKG_RELEASE:=1
  12. PKG_BUILD_DIR:=$(BUILD_DIR)/robocfg
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/robocfg
  15. SECTION:=utils
  16. CATEGORY:=Utilities
  17. TITLE:=BCM5325E/536x switch configuration utility
  18. endef
  19. define Package/robocfg/description
  20. This package contains an utility for configuring the Broadcom BCM5325E/536x
  21. based switches.
  22. endef
  23. define Build/Prepare
  24. mkdir -p $(PKG_BUILD_DIR)
  25. $(CP) ./src/* $(PKG_BUILD_DIR)/
  26. endef
  27. define Package/robocfg/install
  28. $(INSTALL_DIR) $(1)/sbin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
  30. endef
  31. $(eval $(call BuildPackage,robocfg))