From cd2430dad79c05c3703778ad9daf40cd4cd7abaf Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Wed, 3 Dec 2008 22:56:42 +0000 Subject: [PATCH] fixed libgsl SVN-Revision: 13503 --- libs/gsl/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libs/gsl/Makefile b/libs/gsl/Makefile index b83e65f9af..cbb93b89df 100644 --- a/libs/gsl/Makefile +++ b/libs/gsl/Makefile @@ -16,6 +16,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/gsl/ PKG_MD5SUM:=81dca4362ae8d2aa1547b7d010881e43 +PKG_FIXUP:=libtool + include $(INCLUDE_DIR)/package.mk define Package/libgsl @@ -50,15 +52,10 @@ define Package/libgsl/install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/include/gsl/*.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgsl.{a,so*} $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgslcblas.{a,so*} $(1)/usr/lib/ -endef - -define Build/UninstallDev - rm -rf $(1)/usr/include/gsl + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgsl.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgslcblas.* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libgsl)) -- 2.30.2