DESCRIPTION="x264 h.264/AVC encoder" 
HOMEPAGE="http://www.videolan.org/developers/x264.html" 
SRC_URI="ftp://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120803-2245.tar.bz2"
CHECKSUM_MD5="0ce9048809a447b89aaecd7c8c8b2e0d"
REVISION="1"
MESSAGE="The port only builds with gcc4. Use 'setgcc gcc4' before building."
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd x264-snapshot-20120803-2245
	./configure --prefix=`finddir B_COMMON_DIRECTORY` 
	make
}

INSTALL()
{
	cd x264-snapshot-20120803-2245
	make install-lib-static
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2012 http://www.videolan.org/developers/x264.html"
