CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / e2fsprogs / Pkgfile
index fbf528ceaefe7dc229043e7e11f28beb3f4de8c8..bcf87b9a76fbb4b311863a023a487822850ef147 100644 (file)
@@ -1,29 +1,25 @@
 # Description: Ext2 Filesystem Utilities
 # URL: http://e2fsprogs.sourceforge.net/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: util-linux-ng
 
 name=e2fsprogs
-version=1.41.9
-release=3
-source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
-        $name-symlink.patch)
+version=1.42.5
+release=1
+source=(http://downloads.sourceforge.net/project/$name/$name/v$version/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
-  patch -p1 -i $SRC/$name-symlink.patch
 
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
               --with-root-prefix= \
               --mandir=/usr/man \
+              --enable-symlink-install \
               --enable-elf-shlibs \
-              --disable-debugfs \
-              --disable-imager \
               --disable-e2initrd-helper \
-              --disable-evms \
               --disable-nls \
               --disable-fsck \
               --disable-libblkid \
@@ -31,7 +27,13 @@ build() {
               --disable-uuidd
 
   make
-  make DESTDIR=$PKG install install-libs
+  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
 }