X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/07ef852b5f8ab5c3277876458486100136199118..e662ecd9cac5535ef71bd9c0e91eb09d8a196cc1:/package/udev/Makefile?ds=sidebyside diff --git a/package/udev/Makefile b/package/udev/Makefile index b2b31c37a..2f7dd614e 100644 --- a/package/udev/Makefile +++ b/package/udev/Makefile @@ -20,11 +20,12 @@ include $(INCLUDE_DIR)/package.mk PKG_INSTALL=1 define Package/udev - SECTION:=base - CATEGORY:=Base system - TITLE:=Dynamic device management subsystem - URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html - MAINTAINER:=Geoff Levand + SECTION:=base + CATEGORY:=Base system + TITLE:=Dynamic device management subsystem + URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html + MAINTAINER:=Geoff Levand + MENU:=1 endef define Package/udev/description @@ -32,8 +33,12 @@ 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)/udev-config.in" + source "$(SOURCE)/Config.in" endef udev-args-$(CONFIG_UDEV_DISABLE_LOGGING) += --disable-logging @@ -73,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