the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: valkyrie%type_pkg[qt]
Version: 2.0.0
Revision: 2
Type: qt (-x11 -mac)
Description: Qt4-based GUI for valgrind
DescDetail: <<
Valkyrie is a Qt4-based GUI for the Valgrind 3.6.x series, that works
for the Memcheck and Helgrind tools. It also has an XML merging tool
for Memcheck outputs (vk_logmerge). This tarball is known to build and
work with valgrind-3.6.0.
<<
DescUsage: <<
For valkyrie-mac, the executable is %p/Applications/valkyrie.app.
For valkyrie-x11, it's %p/bin/valkyrie.
<<
Architecture: i386, x86_64
Distribution: 10.5, 10.6
Source: http://valgrind.org/downloads/%{ni}-%v.tar.bz2
Source-MD5: a411dfb803f548dae5f988de0160aeb5
Depends: <<
libiconv,
( %type_pkg[qt] = -mac ) libpng15-shlibs,
qt4-base%type_pkg[qt]-qtcore-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[qt]-qtgui-shlibs (>= 4.7.3-1),
qt4-base%type_pkg[qt]-qtxml-shlibs (>= 4.7.3-1),
valgrind (>= 3.6.0-1)
<<
BuildDepends: <<
fink (>= 0.28),
libiconv-dev,
( %type_pkg[qt] = -mac ) libpng15,
qt4-base%type_pkg[qt] (>= 4.7.3-1),
system-openssl-dev
<<
UseMaxBuildJobs: true
CompileScript: <<
%p/lib/qt4%type_pkg[qt]/bin/qmake PREFIX=%p
make
<<
InstallScript: <<
#!/bin/bash -ev
make install INSTALL_ROOT=%d
mkdir -p %i/share/doc/
mv %i/share/%{ni}-%v/doc %i/share/doc/%n
rmdir %i/share/%{ni}-%v
if [ "%type_pkg[qt]" == "-mac" ]; then
mkdir -p %i/Applications
mv %i/bin/valkyrie.app %i/Applications
fi
<<
DocFiles: COPYING README
License: GPL2+
Maintainer: Daniel Johnson
Homepage: http://valgrind.org/
<<