<package name="glibc">
	<description short="GNU C Library">GNU C Library</description>

	<releases>
		<release version="2.16.0">
			<alt>2.16</alt>
			<sha1>9d4fffc9c4ac93e7919e124fa38bb51dcaff5216</sha1>
		</release>

		<source>
			<url>http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz</url>
		</source>
	</releases>

	<script name="compile" interp="/bin/sh">
		mkdir glibc_requires_separate_build_directory
		cd glibc_requires_separate_build_directory

		../configure "--prefix=${_APPBOX_PREFIX}" "--sysconfdir=${_APPBOX_SYSCONFDIR}"  || exit 1

		make || exit 1

		exit 0
	</script>

	<script name="install" interp="/bin/sh">
		cd glibc_requires_separate_build_directory || exit 1

		make "install_root=${destroot}" install || exit 1

		exit 0
	</script>
</package>
