summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/e2fsprogs/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:53:51 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 22:53:51 (GMT)
commit686d860f2b8a4f76a312778b0db241186304477a (patch)
tree54c2452c1bd4b2001cbbab6d477d92df24642781 /abs/core-testing/e2fsprogs/PKGBUILD
parentd5808a3ae99038c87db125fe1729bb21956221e4 (diff)
downloadlinhes_pkgbuild-686d860f2b8a4f76a312778b0db241186304477a.zip
linhes_pkgbuild-686d860f2b8a4f76a312778b0db241186304477a.tar.gz
linhes_pkgbuild-686d860f2b8a4f76a312778b0db241186304477a.tar.bz2
e2fsprogs:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/e2fsprogs/PKGBUILD')
-rw-r--r--abs/core-testing/e2fsprogs/PKGBUILD55
1 files changed, 30 insertions, 25 deletions
diff --git a/abs/core-testing/e2fsprogs/PKGBUILD b/abs/core-testing/e2fsprogs/PKGBUILD
index 6da53ff..730522b 100644
--- a/abs/core-testing/e2fsprogs/PKGBUILD
+++ b/abs/core-testing/e2fsprogs/PKGBUILD
@@ -1,41 +1,46 @@
-# $Id: PKGBUILD 16283 2008-10-21 12:05:45Z ronald $
-# Maintainer:
+# $Id: PKGBUILD 80571 2010-05-19 18:38:36Z ronald $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=e2fsprogs
-pkgver=1.41.3
-pkgrel=2
+pkgver=1.41.12
+pkgrel=1
pkgdesc="Ext2/3/4 filesystem utilities"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'MIT')
url="http://e2fsprogs.sourceforge.net"
groups=('base')
-depends=('glibc')
+depends=('sh' 'util-linux-ng')
makedepends=('bc')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- 'Makefile-fsck.static.patch')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'MIT-LICENSE')
backup=('etc/mke2fs.conf')
-install=$pkgname.install
-md5sums=('b21d26fc46c584021dc9c444933ee1c2'
- 'ce2b0daf84e17e8c7880ba3d43020ea3')
+install=${pkgname}.install
+sha1sums=('62b002fe507b2ddafc24b89532e472fe4b55a14f'
+ 'f4a0d5b0cdb980e3fedd6f5e7dde0b0ffb7bbdfb')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
# Remove unnecessary init.d directory
- sed -i '/init\.d/s|^|#|' misc/Makefile.in
+ sed -i '/init\.d/s|^|#|' misc/Makefile.in || return 1
+
+ ./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs \
+ --disable-fsck --disable-uuidd \
+ --disable-libuuid --disable-libblkid || return 1
+
- ./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=${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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install install-libs || return 1
+
+ sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et" || return 1
+
+ # install MIT license
+ install -Dm644 "${srcdir}/MIT-LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE" || return 1
+
}