CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
patch: updated to 2.7.1 and aligned to upstream
[crossrootfs.git] / patch / Pkgfile
index 0f7b191ba1080de1da08cc738099136e2533c627..45476387c4832bd5df160954c3592e4ae57788fa 100644 (file)
@@ -5,17 +5,17 @@
 # Depends on:
 
 name=patch
-version=2.6
+version=2.7.1
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
   cd $name-$version
-
   ./configure --build=$CHOST \
               --host=$CTARGET \
-              --prefix=/usr
+              --prefix=/usr \
+              --mandir=/usr/man
 
   make
-  make prefix=$PKG/usr install
+  make DESTDIR=$PKG install
 }