CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
make: fixed build and updated release
[crossrootfs.git] / grep / Pkgfile
index 34148ecadfe5ad47ac39df1be98d9c3cad9ef274..4641424459cb8c0895f4364076efb0c7352c40d5 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: libpcre
 
 name=grep
-version=2.14
+version=3.1
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
@@ -15,11 +15,10 @@ build() {
   ./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
 }