replace $(IDIR_*) with $(1)
[openwrt.git] / package / udev / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=udev
6 PKG_VERSION:=077
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=61ec646daf7795e9777e8f33975408fe
9
10 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
12 PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
13 http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
14 ftp://ftp.de.kernel.org/pub/linux/utils/kernel/hotplug/ \
15 http://ftp.de.kernel.org/pub/linux/utils/kernel/hotplug/ \
16 ftp://ftp.fr.kernel.org/pub/linux/utils/kernel/hotplug/ \
17 http://ftp.fr.kernel.org/pub/linux/utils/kernel/hotplug/
18 PKG_CAT:=bzcat
19
20 include $(TOPDIR)/package/rules.mk
21
22 define Package/udev
23 SECTION:=base
24 # CATEGORY:=FIXME
25 DEFAULT:=n
26 TITLE:=Dynamic device management subsystem
27 DESCRIPTION:=udev provides a dynamic device directory containing only the files for \\\
28 actually present devices. It creates or removes device node files in \\\
29 the /dev directory, or it renames network interfaces. \\\
30 URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
31 endef
32
33 define Package/udev/install
34 install -d -m0775 $(1)/etc/udev
35 install -d -m0775 $(1)/lib/udev
36 install -d -m0775 $(1)/sbin/
37 install -d -m0775 $(1)/usr/bin/
38 install -d -m0775 $(1)/usr/sbin/
39 $(CP) $(PKG_INSTALL_DIR)/etc/udev/* $(1)/etc/udev/
40 $(CP) $(PKG_INSTALL_DIR)/sbin/udev $(1)/sbin/
41 $(CP) $(PKG_INSTALL_DIR)/sbin/udevcontrol $(1)/sbin/
42 $(CP) $(PKG_INSTALL_DIR)/sbin/udevd $(1)/sbin/
43 $(CP) $(PKG_INSTALL_DIR)/sbin/udevsend $(1)/sbin/
44 $(CP) $(PKG_INSTALL_DIR)/sbin/udevstart $(1)/sbin/
45 $(CP) $(PKG_INSTALL_DIR)/usr/bin/udevinfo $(1)/usr/bin/
46 $(CP) $(PKG_INSTALL_DIR)/usr/bin/udevtest $(1)/usr/bin/
47 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/udevmonitor $(1)/usr/sbin/
48 endef
49
50 $(eval $(call BuildPackage,udev))
This page took 0.040252 seconds and 5 git commands to generate.