-rwxr-xr-x root/root usr/bin/egrep
-rwxr-xr-x root/root usr/bin/fgrep
-rwxr-xr-x root/root usr/bin/grep
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/egrep.1.gz
--rw-r--r-- root/root usr/man/man1/fgrep.1.gz
--rw-r--r-- root/root usr/man/man1/grep.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/egrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/fgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/grep.1.gz
# Depends on: libpcre
name=grep
-version=2.20
+version=2.22
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install
- rm -r $PKG/usr/share
+ rm -r $PKG/usr/share/info
}