CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / patch / Pkgfile
index d2184a01f9542ebb7de601cabf774dbe3ecf5721..317f106d3d8113f9aaa19e3ad4db74011a55259c 100644 (file)
@@ -5,23 +5,16 @@
 # Depends on:
 
 name=patch
-version=2.6.1
+version=2.7.5
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
-        $name-$version-strnlen.patch 
-        strnlen.c strnlen.m4 safe-read.m4)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
-  patch -p1 -i $SRC/$name-$version-strnlen.patch
-  cp $SRC/*.m4 gl/m4/
-  cp $SRC/strnlen.c gl/lib/
-
   ./configure --build=$CHOST \
               --host=$CTARGET \
-              --prefix=/usr \
-              --mandir=/usr/man
+              --prefix=/usr
 
-  make 
+  make
   make DESTDIR=$PKG install
 }