PKGBUILDs/community/anyfs-tools/PKGBUILD

25 lines
962 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=anyfs-tools
pkgver=0.85.1a
pkgrel=1
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 anyfs fuse)
source=(http://downloads.sourceforge.net/sourceforge/anyfs-tools/${pkgname}-${pkgver}.tar.bz2)
md5sums=('6cc523183ebca3e3e9e37bc19caddce9')
build() {
cd ${startdir}/src/$pkgname-${pkgver}
sed -i "s#install: install_progs install_fs install_docs#install: install_progs install_docs#" ./Makefile.in
#Dirty Arch64 fix which doesn't affect i686
CFLAGS="-DNO_INLINE_FUNCS -D_INLINE_=static" ./configure --prefix=/usr --build=i686-linux-gnu
tar -czf anyfs-$pkgver.tar.gz ./anyfs/
make || return 1
make INSTALLPATH=$startdir/pkg/usr install
}