Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel...
[openwrt.git] / package / hotplug2-old / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=hotplug2-old
11 PKG_VERSION:=0.9
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=hotplug2-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
16 PKG_MD5SUM:=ea2c01d027b4002e4e6b0ff266f51a51
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/hotplug2-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/hotplug2-old
23 SECTION:=base
24 CATEGORY:=Base system
25 VERSION:=0.9+r102-$(PKG_RELEASE)
26 TITLE:=Dynamic device management subsystem for embedded systems
27 URL:=http://isteve.bofh.cz/~isteve/hotplug2/
28 endef
29
30 define Package/hotplug2-old/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 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -DHAVE_RULES -I."
36
37 define Package/hotplug2-old/install
38 $(INSTALL_DIR) $(1)/etc
39 $(INSTALL_DATA) ./files/hotplug2.rules $(1)/etc/
40 $(INSTALL_DIR) $(1)/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hotplug2 $(1)/sbin/
42 endef
43
44 $(eval $(call BuildPackage,hotplug2-old))
This page took 0.039916 seconds and 5 git commands to generate.