[packages] gsl: install pkgconfig gsl.pc, thanks Xiangfu Liu

git-svn-id: svn://svn.openwrt.org/openwrt/packages@27645 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2011-07-17 14:53:28 +00:00
parent f86d9260e2
commit 2c1ff4e720

View File

@ -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))