<?xml version="1.0"?>
<package name="pstoedit">
	<description>translate PostScript and PDF graphics into other vector formats</description>
	<releases>
		<release version="3.45" revision="3" branch="stable">
			<deps>
				<dep name="ghostscript"/>
				<dep name="ImageMagick"/>
				<dep name="libpng"/>
				<!-- for SVG output -->
				<dep name="plotutils"/>
			</deps>
			<build>
				<script>
					<archive name="pstoedit-$VERSION">
						<!-- fix build with gcc 4.3 -->
						<patch name="pstoedit-$VERSION-gcc43"/>
						<cmd>sed -i -e 's/-pedantic//g' configure</cmd>

						<cmd>./configure --prefix=/usr --sysconfdir=/etc --disable-static</cmd>
						<!-- parallel build broken -->
						<cmd>make</cmd>
						<cmd>make install</cmd>
					</archive>
				</script>
			</build>
		</release>
	</releases>
</package>
