lrwxrwxrwx root/root usr/lib/libreadline.so -> libreadline.so.6
lrwxrwxrwx root/root usr/lib/libreadline.so.6 -> libreadline.so.6.0
-r-xr-xr-x root/root usr/lib/libreadline.so.6.0
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/history.3.gz
+-rw-r--r-- root/root usr/man/man3/readline.3.gz
drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/info/
--rw-r--r-- root/root usr/share/info/dir
--rw-r--r-- root/root usr/share/info/history.info
--rw-r--r-- root/root usr/share/info/readline.info
--rw-r--r-- root/root usr/share/info/rluserman.info
-drwxr-xr-x root/root usr/share/man/
-drwxr-xr-x root/root usr/share/man/man3/
--rw-r--r-- root/root usr/share/man/man3/history.3.gz
--rw-r--r-- root/root usr/share/man/man3/readline.3.gz
drwxr-xr-x root/root usr/share/readline/
-rw-r--r-- root/root usr/share/readline/excallback.c
-rw-r--r-- root/root usr/share/readline/fileman.c
name=readline
version=6.0.4
-release=1
+release=2
source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
$name-6.0-001-004.patch inputrc)
patch -p0 -i $SRC/$name-6.0-001-004.patch
./configure --build=$CHOST \
--host=$CTARGET \
- --prefix=/usr
+ --prefix=/usr \
+ --mandir=/usr/man
make
make DESTDIR=$PKG install
install -D -m 644 $SRC/inputrc $PKG/etc/inputrc
- rm -rf $PKG/usr/info
+ rm -rf $PKG/usr/share/info
}