DESCRIPTION="giflib - A library for processing GIFs" 
HOMEPAGE="http://sourceforge.net/projects/giflib/" 
SRC_URI="http://freefr.dl.sourceforge.net/project/giflib/giflib-4.x/giflib-4.1.6/giflib-4.1.6.tar.gz"
CHECKSUM_MD5="4ff2ecec336b9724c5190f06e8a40f9e"
REVISION="3"
STATUS_HAIKU="stable"
DEPEND=""

BUILD()
{
	cd giflib-4.1.6
	sed -i 's#gl/gl.h#GL/gl.h#' configure.ac
	sed -i 's#gl.gl.h#GL/gl.h#' lib/dev2gif.c
	libtoolize --force --copy --install
	./autogen.sh
	./configure --prefix=`finddir B_COMMON_DIRECTORY`
	make
}

INSTALL()
{
	cd giflib-4.1.6
	make install
}

LICENSE="MIT"
COPYRIGHT="1997-2007 Eric S. Raymond and Toshio Kuratomi"
