add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if...
[openwrt.git] / package / hotplug2 / Makefile
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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=hotplug2
12 PKG_VERSION:=0.9
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
17 PKG_MD5SUM:=ea2c01d027b4002e4e6b0ff266f51a51
18 PKG_CAT:=zcat
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/hotplug2
23 SECTION:=utils
24 CATEGORY:=Utilities
25 DEPENDS:=@LINUX_2_6 +udevtrigger
26 TITLE:=Dynamic device management subsystem for embedded systems
27 URL:=http://isteve.bofh.cz/~isteve/hotplug2/
28 endef
29
30 define Package/hotplug2/description
31 Hotplug2 is a trivial replacement of some of the UDev functionality
32 in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD.
33 endef
34
35 define Package/hotplug2/install
36 $(INSTALL_DIR) $(1)/sbin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hotplug2 $(1)/sbin/
38 endef
39
40 $(eval $(call BuildPackage,hotplug2))
This page took 0.046758 seconds and 5 git commands to generate.