<?xml version="1.0"?>
<package name="valgrind">
	<description>Suite of tools for memory debugging and profiling</description>
	<releases>
		<release version="3.19.0" revision="1">
			<deps>
				<dep name="gdb"/>
				<dep name="perl"/>
			</deps>
			<build>
				<script>
					<archive name="valgrind-$VERSION">
						<!-- no biarch build on x86_64 -->
						<cmd>[ "$ARCH" != "x86_64" ] || CONFIG_OPTIONS="--enable-only64bit"</cmd>
					
						<cmd>./configure $CONFIG_OPTIONS</cmd>
						<cmd>make</cmd>
						<cmd>make install</cmd>

						<!-- remove pdf and ps version of the manual, html should suffice -->
						<cmd>rm -vf $DOCDIR/valgrind_manual.*</cmd>
						<!-- remove static libraries -->
						<cmd>rm -vf /usr/lib/valgrind/*/*.a</cmd>
					</archive>
				</script>
			</build>
		</release>
	</releases>
</package>
