From: Stephen Walker Date: Sun, 17 Jul 2011 14:53:28 +0000 (+0000) Subject: [packages] gsl: install pkgconfig gsl.pc, thanks Xiangfu Liu X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=da8d53ead91e1de46df43c5a301de672dea15b05 [packages] gsl: install pkgconfig gsl.pc, thanks Xiangfu Liu SVN-Revision: 27645 --- diff --git a/libs/gsl/Makefile b/libs/gsl/Makefile index c9c5e1918a..62eaaaeefe 100644 --- a/libs/gsl/Makefile +++ b/libs/gsl/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008 OpenWrt.org +# Copyright (C) 2008-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -43,10 +43,11 @@ define Package/libgsl/install endef define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/gsl $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/include/gsl $(1)/usr/lib $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/include/gsl/*.h $(1)/usr/include/gsl $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgsl.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgslcblas.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gsl.pc $(1)/usr/lib/pkgconfig/ endef $(eval $(call BuildPackage,libgsl))