aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-04 12:55:14 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-04 12:55:14 +0000
commit96f07ad552fc5e490b49ed36e74be51f379ec92f (patch)
tree9e15f30420fc737fcd24511ec6b64dae58fa8b1b
parent630b6fe4f9b3ae3fce262218c7751e89758edfc1 (diff)
downloadupstream-96f07ad552fc5e490b49ed36e74be51f379ec92f.tar.gz
upstream-96f07ad552fc5e490b49ed36e74be51f379ec92f.tar.bz2
upstream-96f07ad552fc5e490b49ed36e74be51f379ec92f.zip
[package] do not copy all library files, saves some space (#4872)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15101 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libreadline/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libreadline/Makefile b/package/libreadline/Makefile
index 1ded2788a0..750b691c1f 100644
--- a/package/libreadline/Makefile
+++ b/package/libreadline/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=readline
PKG_VERSION:=5.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/readline
@@ -56,12 +56,12 @@ define Build/InstallDev
mkdir -p $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/readline $(1)/usr/include/
mkdir -p $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so*} $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so.5,so.5.2} $(1)/usr/lib/
endef
define Package/libreadline/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.so.* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so.5,so.5.2} $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libreadline))