Package: backupbouncer
Version: 0.2.0
Revision: 10
Description: Test-suite for backup software
License: BSD
Maintainer: Remi Mommsen <remigius.mommsen@cern.ch>
HomePage: http://www.n8gray.org/code/backup-bouncer/
DescDetail: <<
 Backup Bouncer is here to help keep the ugly backup tools
 out of the club. It's a command-line-based test suite that
 makes it easy to find out how bad (or good, if you're lucky)
 your backup software is. It aims to be a comprehensive test
 for preservation of all OS X file metadata.
<<
DescPackaging: <<
 The patches fixing the resource forkes for 10.7 were developed by
 John Lillibridge <John.Lillibridge@noaa.gov>.
<<
DocFiles: LICENSE.txt README.SNOW_LEOPARD.txt README.txt 

BuildDepends: fink (>= 0.24.12)
Depends: xcode

Source: http://github.com/n8gray/Backup-Bouncer/tarball/release-%v
Source-Checksum: SHA256(3b4dac4c4ddb0c48044b288d6dd7bca686606e473547fa856a4736c09b7b4dc9)
SourceRename: %n-%v.tar.gz
SourceDirectory: n8gray-Backup-Bouncer-506a35c

PatchFile: %n.patch
PatchFile-MD5: a5c42f7f243d22e4c288827546ab34cc
PatchScript: <<
 %{default_script}
 /usr/bin/sed -i'.bak' -e 's:`dirname $0`:%p/share/%n:' bbouncer
<<

CompileScript: <<
 make
<<

InstallScript: <<
 /usr/bin/install -m 755 -d %i/share/%n
 # mv files into place to assure preservance of all special attributes
 /bin/mv bbouncer copiers.d tests.d util %i/share/%n/
 /bin/rm -f %i/share/%n/util/*.c %i/share/%n/util/Makefile
 /usr/bin/install -m 755 -d %i/bin
 /bin/ln -s ../share/%n/bbouncer %i/bin/
<<

PreRmScript: <<
 /bin/rm -f %p/share/%n/*.sparseimage
<<