CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
automake: updated to 1.15 and updated mandir
[crossrootfs.git] / e2fsprogs / Pkgfile
index 15039ce8dfc3e032adb29e8ac8a7037b13dfad36..42468641475c368b2b1f8a6efcf30c0b8411b942 100644 (file)
@@ -2,16 +2,17 @@
 # URL: http://e2fsprogs.sourceforge.net/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: util-linux-ng
+# Depends on: util-linux
 
 name=e2fsprogs
-version=1.41.14
-release=1
-source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
+version=1.42.10
+release=2
+source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz
+        $name-$version-config.patch)
 
 build() {
   cd $name-$version
-
+  patch -p1 -i $SRC/$name-$version-config.patch
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
@@ -20,15 +21,20 @@ build() {
               --enable-symlink-install \
               --enable-elf-shlibs \
               --disable-e2initrd-helper \
-              --disable-evms \
               --disable-nls \
               --disable-fsck \
               --disable-libblkid \
               --disable-libuuid \
               --disable-uuidd
 
-  make
-  make DESTDIR=$PKG install install-libs
+  make -j1
+  make -j1 DESTDIR=$PKG install install-libs
+
+  # quota support is disabled by default
+  #rm -r $PKG/usr/include/quota
+  #rm $PKG/usr/lib/{libquota.a,pkgconfig/quota.pc}
+
   rm -r $PKG/usr/share/info
+
   chmod +w -R $PKG
 }