base-files: remove a stale reference to /usr/lib/common.awk (thx, swalker)
[openwrt.git] / package / udevtrigger / Makefile
1 #
2 # Copyright (C) 2006-2008 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:=udevtrigger
11 PKG_VERSION:=106
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=udev-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/hotplug/
16 PKG_MD5SUM:=320ccd2d0f4540d10e021bafa14f8985
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/udev-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/udevtrigger
23 SECTION:=base
24 CATEGORY:=Base system
25 TITLE:=Small utility to request kernel devices events for coldplug
26 URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
27 MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
28 endef
29
30 define Build/Compile
31 $(MAKE) -C $(PKG_BUILD_DIR) \
32 CROSS_COMPILE="$(TARGET_CROSS)" \
33 STRIP="/bin/true" \
34 DESTDIR="$(PKG_INSTALL_DIR)" \
35 OPTFLAGS="$(TARGET_CFLAGS)" \
36 udevtrigger
37 endef
38
39 define Package/udevtrigger/install
40 $(INSTALL_DIR) $(1)/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/udevtrigger $(1)/sbin/
42 endef
43
44 $(eval $(call BuildPackage,udevtrigger))
This page took 0.041757 seconds and 5 git commands to generate.