Makefile 917 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: Makefile 4091 2006-06-27 00:35:46Z mbm $
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=yamonenv
  10. PKG_VERSION:=20051022
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://meshcube.org/nylon/stable/sources/
  14. PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad
  15. PKG_CAT:=zcat
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/yamonenv
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. DEPENDS:=@LINUX_2_6_AU1000@
  22. TITLE:=YAMON configuration utility
  23. URL:=http://meshcube.org/nylon/stable/sources/
  24. endef
  25. define Build/Configure
  26. endef
  27. define Package/yamonenv/install
  28. install -d -m0755 $(1)/usr/sbin
  29. $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
  30. endef
  31. $(eval $(call BuildPackage,yamonenv))