Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 6372 2007-02-25 23:34:57Z nbd $
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=hotplug2
  10. PKG_VERSION:=0.9
  11. PKG_RELEASE:=1
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
  14. PKG_MD5SUM:=ea2c01d027b4002e4e6b0ff266f51a51
  15. PKG_CAT:=zcat
  16. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/hotplug2
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. DEPENDS:=@LINUX_2_6 +udevtrigger
  22. TITLE:=Dynamic device management subsystem for embedded systems
  23. URL:=http://isteve.bofh.cz/~isteve/hotplug2/
  24. endef
  25. define Package/hotplug2/description
  26. Hotplug2 is a trivial replacement of some of the UDev functionality
  27. in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD.
  28. endef
  29. define Package/hotplug2/install
  30. $(INSTALL_DIR) $(1)/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/hotplug2 $(1)/sbin/
  32. endef
  33. $(eval $(call BuildPackage,hotplug2))