add support for md5sum checks for mirrored tarballs of packages with version control...
[openwrt.git] / package / udev / Makefile
index 26bfe8b..2f7dd61 100644 (file)
@@ -22,7 +22,6 @@ PKG_INSTALL=1
 define Package/udev
   SECTION:=base
   CATEGORY:=Base system
-  DEPENDS:=@LINUX_2_6
   TITLE:=Dynamic device management subsystem
   URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
   MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com>
@@ -34,6 +33,10 @@ define Package/udev/description
        provides the ability to have persistent device names.
 endef
 
+define Package/udev/conffiles
+/etc/udev/udev.conf
+endef
+
 define Package/udev/config
        source "$(SOURCE)/Config.in"
 endef
@@ -75,6 +78,17 @@ udev-extra-lib-bin-$(CONFIG_UDEV_EXTRA_scsi_id) += scsi_id
 
 udev-extra-lib-bin-$(CONFIG_UDEV_EXTRA_usb_id) += usb_id
 
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_INSTALL_DIR)/usr/include/libudev.h $(1)/usr/include
+       $(INSTALL_DIR) $(1)/lib
+       $(CP) $(PKG_INSTALL_DIR)/lib/libudev.so* $(1)/lib
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libudev.so $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libudev.pc $(1)/usr/lib/pkgconfig
+endef
+
 define Package/udev/install
        $(INSTALL_DIR) $(1)/etc/udev/rules.d
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/udev/udev.conf $(1)/etc/udev
This page took 0.02042 seconds and 4 git commands to generate.