Some configure scripts rely on pkgconfig to detect libedit, for instance
asterisk-13. Install the file so libedit can be used there as well.
Signed-off-by: Sebastian Kemper <redacted>
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libedit.{a,so*} $(1)/usr/lib/
+
+ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libedit.pc $(1)/usr/lib/pkgconfig
endef
define Package/libedit/install