diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/anyfs-tools/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/anyfs-tools/PKGBUILD')
-rw-r--r-- | community/anyfs-tools/PKGBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/community/anyfs-tools/PKGBUILD b/community/anyfs-tools/PKGBUILD index b96198172..9cfb60279 100644 --- a/community/anyfs-tools/PKGBUILD +++ b/community/anyfs-tools/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 66269 2012-02-23 06:54:24Z spupykin $ +# $Id: PKGBUILD 91828 2013-05-28 17:03:05Z 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=3 +pkgrel=4 pkgdesc="unix-way toolset for recovering and converting filesystems" arch=('i686' 'x86_64' 'mips64el') url="http://anyfs-tools.sourceforge.net/" @@ -17,6 +17,11 @@ source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pk md5sums=('d3da0004cd0f037ec3e926acd3f520c2' '5ea91297b605d51b03243adda1efed27') +prepare() { + cd $srcdir/$pkgname-${pkgver} + find . -name Makefile.in -exec sed -i 's|$(INSTALLPATH)/sbin|$(INSTALLPATH)/bin|g' {} \; +} + build() { cd $srcdir/$pkgname-${pkgver} @@ -25,8 +30,13 @@ build() { 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 + CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" \ + ./configure --prefix=/usr --build=i686-linux-gnu make -j1 sed -i 's|ldconfig||' src/anysurrect/Makefile +} + +package() { + cd $srcdir/$pkgname-${pkgver} make INSTALLPATH=$pkgdir/usr install } |