2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 6372 2007-02-25 23:34:57Z nbd $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://isteve.bofh.cz
/~isteve
/hotplug2
17 PKG_MD5SUM
:=ea2c01d027b4002e4e6b0ff266f51a51
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/hotplug2
27 DEPENDS
:=@LINUX_2_6
+udevtrigger
28 TITLE
:=Dynamic device management subsystem for embedded systems
29 URL
:=http
://isteve.bofh.cz
/~isteve
/hotplug2
/
32 define Package
/hotplug2
/description
33 Hotplug2 is a trivial replacement of some of the UDev functionality
34 in a tiny pack
, intended for Linux early userspace
: Init RAM FS and InitRD.
37 define Package
/hotplug2
/install
38 $(INSTALL_DIR
) $(1)/sbin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/hotplug2
$(1)/sbin
/
42 $(eval
$(call BuildPackage
,hotplug2
))