libftdi: fix pkgconfig support by installing .pc into staging dir
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Feb 2014 22:46:40 +0000 (22:46 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Feb 2014 22:46:40 +0000 (22:46 +0000)
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 39520

libs/libftdi/Makefile

index 10a5130680e2e97883057ce09d327231f2255c44..819c03672b4c58c5e7081c558d9c2b66f6342255 100644 (file)
@@ -40,6 +40,8 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi.{a,so} $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi.so* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libftdi.pc $(1)/usr/lib/pkgconfig/libftdi.pc
 endef
 
 define Package/libftdi/install