summaryrefslogtreecommitdiff
path: root/package
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
commitfbabc211c5b7d6176cee154ec22904386b656f9b (patch)
treedd4f204ca53edff869c94dbf5a6e82b55cbeb263 /package
parentd5b7addee98818746887593acb30c9467a3d63ff (diff)
downloadmtk-20170518-fbabc211c5b7d6176cee154ec22904386b656f9b.zip
mtk-20170518-fbabc211c5b7d6176cee154ec22904386b656f9b.tar.gz
mtk-20170518-fbabc211c5b7d6176cee154ec22904386b656f9b.tar.bz2
do not copy all library files, saves some space (#4872)
SVN-Revision: 15101
Diffstat (limited to 'package')
-rw-r--r--package/libreadline/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libreadline/Makefile b/package/libreadline/Makefile
index 1ded278..750b691 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))