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.6.3
--r-xr-xr-x root/root lib/libhistory.so.6.3
-lrwxrwxrwx root/root lib/libreadline.so.6 -> libreadline.so.6.3
--r-xr-xr-x root/root lib/libreadline.so.6.3
+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.7 -> libreadline.so.7.0
+-r-xr-xr-x root/root lib/libreadline.so.7.0
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/readline/tilde.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libhistory.a
-lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.6.3
+lrwxrwxrwx root/root usr/lib/libhistory.so -> ../../lib/libhistory.so.7.0
-rw-r--r-- root/root usr/lib/libreadline.a
-lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.6.3
+lrwxrwxrwx root/root usr/lib/libreadline.so -> ../../lib/libreadline.so.7.0
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-rw-r--r-- root/root usr/share/readline/rl-callbacktest.c
-rw-r--r-- root/root usr/share/readline/rl-fgets.c
-rw-r--r-- root/root usr/share/readline/rl.c
+-rw-r--r-- root/root usr/share/readline/rlbasic.c
-rw-r--r-- root/root usr/share/readline/rlcat.c
-rw-r--r-- root/root usr/share/readline/rlevent.c
-rw-r--r-- root/root usr/share/readline/rlptytest.c
# Depends on: ncurses
name=readline
-version=6.3.8
-release=2
+version=7.0
+release=1
source=(http://ftp.gnu.org/gnu/$name/$name-${version::3}.tar.gz \
- $name-$version.patch.gz inputrc $name-$version-wcwidth.patch)
+ inputrc)
build() {
- cd $name-${version::3}
-
- gunzip -c $SRC/$name-$version.patch.gz | patch -p0
+ cd $name-$version
# Don't use rpath for linking the shared libs
sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf
- # Patch to avoid wcwidth tests
- patch -i $SRC/$name-$version-wcwidth.patch
-
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr
+
make -j1 SHLIB_LIBS=-lncurses
make -j1 DESTDIR=$PKG install