-define Package/udev-vol-id/install
- $(INSTALL_DIR) $(1)/sbin
- $(INSTALL_DIR) $(1)/lib
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/libvolume_id.so* $(1)/lib/
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/udev/vol_id $(1)/sbin/
+
+define Package/udevextras/install
+ $(INSTALL_DIR) $(1)/etc/udev
+ $(CP) $(PKG_BUILD_DIR)/etc/udev/rules.d $(1)/etc/udev/
+ $(INSTALL_DIR) $(1)/lib/udev
+ $$(foreach f, $$(shell $(FIND) $(PKG_INSTALL_DIR)/lib/udev/ -type f), \
+ $(CP) $$(f) $(1)/lib/udev/ ; \
+ )