summaryrefslogtreecommitdiffstats
path: root/abs/core/e2fsprogs/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/e2fsprogs/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/e2fsprogs/PKGBUILD')
-rw-r--r--abs/core/e2fsprogs/PKGBUILD39
1 files changed, 23 insertions, 16 deletions
diff --git a/abs/core/e2fsprogs/PKGBUILD b/abs/core/e2fsprogs/PKGBUILD
index b85652b..6da53ff 100644
--- a/abs/core/e2fsprogs/PKGBUILD
+++ b/abs/core/e2fsprogs/PKGBUILD
@@ -1,10 +1,11 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: judd <jvinet@zeroflux.org>
+# $Id: PKGBUILD 16283 2008-10-21 12:05:45Z ronald $
+# Maintainer:
+# Contributor: judd <jvinet@zeroflux.org>
pkgname=e2fsprogs
-pkgver=1.40.8
-pkgrel=10
-pkgdesc="Ext2 filesystem utilities"
+pkgver=1.41.3
+pkgrel=2
+pkgdesc="Ext2/3/4 filesystem utilities"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'MIT')
url="http://e2fsprogs.sourceforge.net"
@@ -12,23 +13,29 @@ groups=('base')
depends=('glibc')
makedepends=('bc')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- Makefile-fsck.static.patch
- mke2fs.conf)
-md5sums=('450e2fb2461b2296fec770ff8fc147ed'
- 'ce2b0daf84e17e8c7880ba3d43020ea3'
- '4ebb30bdb5951f1fc86c1470e4d81532')
+ 'Makefile-fsck.static.patch')
+backup=('etc/mke2fs.conf')
+install=$pkgname.install
+md5sums=('b21d26fc46c584021dc9c444933ee1c2'
+ 'ce2b0daf84e17e8c7880ba3d43020ea3')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
+
# Remove unnecessary init.d directory
sed -i '/init\.d/s|^|#|' misc/Makefile.in
+
./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs
+
# add fsck.static for mkinitrd use
patch -Np1 -i ../Makefile-fsck.static.patch || return 1
+
make || return 1
- make DESTDIR=${startdir}/pkg install install-libs
- make -C ${startdir}/src/${pkgname}-${pkgver}/misc fsck.static || return 1
- install -D -m755 ${startdir}/src/${pkgname}-${pkgver}/misc/fsck.static ${startdir}/pkg/sbin/fsck.static
- sed -i -e 's/^AWK=.*/AWK=awk/' ${startdir}/pkg/usr/bin/compile_et || return 1
- install -m644 ${startdir}/src/mke2fs.conf ${startdir}/pkg/etc/ || return 1
+ make DESTDIR=${pkgdir} install install-libs || return 1
+ make -C ${srcdir}/${pkgname}-${pkgver}/misc fsck.static || return 1
+
+ install -D -m755 ${srcdir}/${pkgname}-${pkgver}/misc/fsck.static \
+ ${pkgdir}/sbin/fsck.static || return 1
+
+ sed -i -e 's/^AWK=.*/AWK=awk/' ${pkgdir}/usr/bin/compile_et || return 1
}