CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
readline: updated to 7.0.3
authorVictor Martinez <pitillo@ono.com>
Thu, 3 May 2018 19:40:43 +0000 (19:40 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 3 May 2018 19:40:43 +0000 (19:40 +0000)
readline/.footprint
readline/.md5sum
readline/Pkgfile

index a589ebad55f70912b67e49c6e5e83bcf76c67c96..5827f0c9ccc983cb373993e75b6137e1de0c2c1c 100644 (file)
@@ -1,8 +1,10 @@
 drwxr-xr-x     root/root       etc/
 -rw-r--r--     root/root       etc/inputrc
 drwxr-xr-x     root/root       lib/
+lrwxrwxrwx     root/root       lib/libhistory.so.6 -> libhistory.so.7.0
 lrwxrwxrwx     root/root       lib/libhistory.so.7 -> libhistory.so.7.0
 -r-xr-xr-x     root/root       lib/libhistory.so.7.0
+lrwxrwxrwx     root/root       lib/libreadline.so.6 -> libreadline.so.7.0
 lrwxrwxrwx     root/root       lib/libreadline.so.7 -> libreadline.so.7.0
 -r-xr-xr-x     root/root       lib/libreadline.so.7.0
 drwxr-xr-x     root/root       usr/
index a9ba7054eb8253c4040e4273fa18e184012aa2b7..abc82e36e9203b23c60d393aa3bae830b97656d9 100644 (file)
@@ -1,2 +1,3 @@
 553cf04fdeec54dca12062864c3ffba3  inputrc
+820e38dae6c7ab9f6993928e954fb41b  readline-7.0.3.patch.gz
 205b03a87fc83dab653b628c59b9fc91  readline-7.0.tar.gz
index 92475a9514853f2629d8d1bd8ef0111fed5413cf..47122f252deb76b503f2e2dad26099ed07878bc2 100644 (file)
@@ -5,13 +5,15 @@
 # Depends on: ncurses
 
 name=readline
-version=7.0
+version=7.0.3
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
-        inputrc)
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-${version:0:3}.tar.gz
+        $name-$version.patch.gz inputrc)
 
 build() {
-  cd $name-$version
+  cd $name-${version:0:3}
+
+  gunzip -c $SRC/$name-$version.patch.gz | patch -p0
 
   # Don't use rpath for linking the shared libs
   sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf
@@ -27,6 +29,10 @@ build() {
   ln -sf ../../lib/libhistory.so.${version:0:3} $PKG/usr/lib/libhistory.so
   ln -sf ../../lib/libreadline.so.${version:0:3} $PKG/usr/lib/libreadline.so
 
+  # Compatibility symlinks, remove later
+  ln -s libreadline.so.7.0 $PKG/lib/libreadline.so.6
+  ln -s libhistory.so.7.0 $PKG/lib/libhistory.so.6
+
   install -D -m 644 $SRC/inputrc $PKG/etc/inputrc
   rm -r $PKG/usr/share/{doc,info}
 }