<?xml version="1.0"?>
<package name="pax">
	<description>POSIX standard archive tool</description>
	<releases>
		<release version="3.4" revision="5">
			<build>
				<script>
					<archive name="pax-$VERSION">
						<!-- fix build with gcc 10, from Fedora -->
						<patch name="pax-$VERSION-gcc10"/>

						<!-- fix build with gcc 4.6 -->
						<cmd>sed -i -e 's/-Werror//' configure</cmd>
						<!-- fix build with glibc 2.28 -->
						<cmd>sed -i -e '/sys.types.h/s@$@\n#include &lt;sys/sysmacros.h&gt;@' src/{cpio,gen_subs,tar}.c</cmd>

						<cmd>./configure</cmd>
						<cmd>make</cmd>
						<cmd>make install</cmd>
					</archive>
				</script>
			</build>
		</release>
	</releases>
</package>
