diff options
author | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-24 23:15:21 +0000 |
commit | 299e917c17619f800f0c21cf43209065b608223f (patch) | |
tree | e175a7bbdb5d933670f10b09f1cc52ece45ced87 /community/anyfs-tools | |
parent | d466ef49f224a9347fe0375eac8126725e10a0a4 (diff) |
Fri Feb 24 23:15:21 UTC 2012
Diffstat (limited to 'community/anyfs-tools')
-rw-r--r-- | community/anyfs-tools/PKGBUILD | 19 | ||||
-rw-r--r-- | community/anyfs-tools/anyfs-tools.install | 7 | ||||
-rw-r--r-- | community/anyfs-tools/disable-build-ext2fs.patch | 20 |
3 files changed, 41 insertions, 5 deletions
diff --git a/community/anyfs-tools/PKGBUILD b/community/anyfs-tools/PKGBUILD index 47d550208..f0ff30bf5 100644 --- a/community/anyfs-tools/PKGBUILD +++ b/community/anyfs-tools/PKGBUILD @@ -1,23 +1,32 @@ -# $Id: PKGBUILD 20118 2010-07-02 14:36:14Z spupykin $ +# $Id: PKGBUILD 66269 2012-02-23 06:54:24Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=anyfs-tools pkgver=0.85.1c -pkgrel=1 +pkgrel=3 pkgdesc="unix-way toolset for recovering and converting filesystems" arch=('i686' 'x86_64') url="http://anyfs-tools.sourceforge.net/" license=('GPL') depends=(bzip2 e2fsprogs libmpeg2 xfsprogs fuse) -source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2) -md5sums=('d3da0004cd0f037ec3e926acd3f520c2') +#makedepends=('linux-headers') +install=anyfs-tools.install +source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2 + disable-build-ext2fs.patch) +md5sums=('d3da0004cd0f037ec3e926acd3f520c2' + '5ea91297b605d51b03243adda1efed27') build() { cd $srcdir/$pkgname-${pkgver} + + unset LDFLAGS + unset CFLAGS + patch -p1 <$srcdir/disable-build-ext2fs.patch + #Dirty Arch64 fix which doesn't affect i686 CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu - make || return 1 + make -j1 sed -i 's|ldconfig||' src/anysurrect/Makefile make INSTALLPATH=$pkgdir/usr install } diff --git a/community/anyfs-tools/anyfs-tools.install b/community/anyfs-tools/anyfs-tools.install new file mode 100644 index 000000000..a9e3e45b5 --- /dev/null +++ b/community/anyfs-tools/anyfs-tools.install @@ -0,0 +1,7 @@ +post_install() { + echo ">> build_e2fs tool temporary disabled" +} + +post_upgrade() { + post_install +} diff --git a/community/anyfs-tools/disable-build-ext2fs.patch b/community/anyfs-tools/disable-build-ext2fs.patch new file mode 100644 index 000000000..7f35f446d --- /dev/null +++ b/community/anyfs-tools/disable-build-ext2fs.patch @@ -0,0 +1,20 @@ +diff -wbBur anyfs-tools-0.85.1c/src/Makefile.in anyfs-tools-0.85.1c.my/src/Makefile.in +--- anyfs-tools-0.85.1c/src/Makefile.in 2006-11-20 03:40:54.000000000 +0300 ++++ anyfs-tools-0.85.1c.my/src/Makefile.in 2012-02-23 10:43:33.000000000 +0400 +@@ -17,7 +17,7 @@ + REBLOCKLDFLAGS= -lany + BDITLDFLAGS= -lany + +-all: reblock build_it anysurrect_util build_e2fs_util $(XFS_UTILS) $(ANYFUSE_MODULE) ++all: reblock build_it anysurrect_util $(XFS_UTILS) $(ANYFUSE_MODULE) + + reblock: $(OBJREBLOCK) + $(CC) $(CCFLAGS) -o $@ $(OBJREBLOCK) $(LDFLAGS) $(REBLOCKLDFLAGS) +@@ -39,7 +39,6 @@ + $(INSTALL) -d $(INSTALLPATH)/sbin + $(INSTALL) reblock build_it $(INSTALLPATH)/sbin + $(MAKE) $(AM_MAKEFLAGS) -C anysurrect install +- $(MAKE) $(AM_MAKEFLAGS) -C build_e2fs install + $(MAKE) $(AM_MAKEFLAGS) -C build_xfs install + $(MAKE) $(AM_MAKEFLAGS) -C anyfuse install + |