diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-01-29 22:06:26 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-01-29 22:06:26 +0000 |
commit | a3062b05f6806a17afc3fd40f1fbc6111df2bdd3 (patch) | |
tree | 7cca701b7fa6935106aa3489bbc464c8f610ddea /package | |
parent | 95b2c75e548720559583943f4628c7af468c8fd7 (diff) | |
download | master-187ad058-a3062b05f6806a17afc3fd40f1fbc6111df2bdd3.tar.gz master-187ad058-a3062b05f6806a17afc3fd40f1fbc6111df2bdd3.tar.bz2 master-187ad058-a3062b05f6806a17afc3fd40f1fbc6111df2bdd3.zip |
[package] udev: install development libraries in staging dir (#8370)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25245 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/udev/Makefile | 11 |
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 |