From: Nicolas Thill Date: Sun, 23 Jul 2006 13:11:19 +0000 (+0000) Subject: fix missing shared lib in package and lib path, remove unneeded PKG_INSTALL_DIR,... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02f3d8b2d57fa716c945e24e92806ca89acf6fd2;p=openwrt%2Fsvn-archive%2Fpackages.git fix missing shared lib in package and lib path, remove unneeded PKG_INSTALL_DIR, indent package desc. SVN-Revision: 4235 --- diff --git a/libs/uclibc++/Makefile b/libs/uclibc++/Makefile index b006c84c9..13971006d 100644 --- a/libs/uclibc++/Makefile +++ b/libs/uclibc++/Makefile @@ -11,24 +11,22 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uclibc++ PKG_VERSION:=0.2.0 PKG_RELEASE:=1 -PKG_MD5SUM:=33e01302511c9a1987fb104f12d173e1 -PKG_SOURCE_URL:=http://cxx.uclibc.org/src/ +PKG_BUILD_DIR:=$(BUILD_DIR)/uClibc++-$(PKG_VERSION) PKG_SOURCE:=uClibc++-$(PKG_VERSION).tbz2 +PKG_SOURCE_URL:=http://cxx.uclibc.org/src/ +PKG_MD5SUM:=33e01302511c9a1987fb104f12d173e1 PKG_CAT:=bzcat -PKG_BUILD_DIR:=$(BUILD_DIR)/uClibc++-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install - include $(INCLUDE_DIR)/package.mk define Package/uclibcxx -NAME:=uclibc++ -SECTION:=libs -CATEGORY:=Libraries -TITLE:=C++ library for embedded systems -DESCRIPTION:=A standard C++ library for embedded systems -URL:=http://cxx.uclibc.org/src/ + NAME:=uclibc++ + SECTION:=libs + CATEGORY:=Libraries + TITLE:=C++ library for embedded systems + DESCRIPTION:=A standard C++ library for embedded systems + URL:=http://cxx.uclibc.org/src/ endef UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ @@ -50,8 +48,6 @@ define Build/Configure endef define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ TOPDIR="$(PKG_BUILD_DIR)/" \ $(TARGET_CONFIGURE_OPTS) \ @@ -63,6 +59,7 @@ endef define Package/uclibcxx/install install -m0755 -d $(1)/lib $(CP) $(PKG_BUILD_DIR)/src/libuClibc++*.so.* $(1)/lib/ + $(CP) $(PKG_BUILD_DIR)/src/libuClibc++-*.so $(1)/lib/ endef define Build/InstallDev @@ -77,7 +74,7 @@ define Build/InstallDev endef define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/lib/libuClibc++.{a,so*} + rm -rf $(STAGING_DIR)/lib/libuClibc++*.{a,so*} endef $(eval $(call BuildPackage,uclibcxx))