aboutsummaryrefslogtreecommitdiffstats
path: root/package/udev
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-01-29 22:06:26 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-01-29 22:06:26 +0000
commitefb455eebeb5b05ab955791aa53254b6a2b35d5a (patch)
tree0e4b49143dfff48a544d87faf50c49329308cf03 /package/udev
parent058b54773aa151f2f0c86005570ea71c2f1583cb (diff)
downloadupstream-efb455eebeb5b05ab955791aa53254b6a2b35d5a.tar.gz
upstream-efb455eebeb5b05ab955791aa53254b6a2b35d5a.tar.bz2
upstream-efb455eebeb5b05ab955791aa53254b6a2b35d5a.zip
udev: install development libraries in staging dir (#8370)
SVN-Revision: 25245
Diffstat (limited to 'package/udev')
-rw-r--r--package/udev/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/udev/Makefile b/package/udev/Makefile
index e6739af940..2f7dd614e5 100644
--- a/package/udev/Makefile
+++ b/package/udev/Makefile
@@ -78,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