<?xml version="1.0"?>
<package name="patch">
	<description>Apply a diff file to an original</description>
	<releases>
		<release version="2.8" revision="1" tag="stage2">
			<build>
				<script>
					<archive name="patch-$VERSION">
						<!-- fix cross build -->
						<text dest="./config.cache">
ac_cv_func_strnlen_working=yes
</text>

						<cmd>./configure --build=$HOST --host=$TARGET --disable-nls --cache-file=config.cache</cmd>
						<cmd>make</cmd>
						<cmd>make install</cmd>
					</archive>
				</script>
			</build>
		</release>
		<release version="2.8" revision="1">
			<build>
				<script>
					<archive name="patch-$VERSION">
						<cmd>./configure</cmd>
						<cmd>make</cmd>
						<cmd>make install</cmd>
					</archive>
				</script>
			</build>
		</release>
	</releases>
</package>
