DESCRIPTION="Preprocessor-pretty-printer of OCaml" 
HOMEPAGE="http://pauillac.inria.fr/~ddr/camlp5/" 
SRC_URI="http://pauillac.inria.fr/~ddr/camlp5/distrib/src/camlp5-6.06.tgz"
CHECKSUM_MD5="8de69094d73d24768844a5017a2bd04b"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND="ocaml"
BUILD()
{
	cd camlp5-6.06
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	./configure --strict --prefix `finddir B_COMMON_DIRECTORY` \
		--mandir $COMMON_DOCS/man
	make world.opt 
}

INSTALL()
{
	cd camlp5-6.06
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	make install PREFIX=${DESTDIR}`finddir B_COMMON_DIRECTORY` \
		MANDIR=${DESTDIR}$COMMON_DOCS/man
		
}
LICENSE="BSD (3-clause)"
COPYRIGHT="2007-2012 Institut National de Recherche en Informatique et en Automatique (INRIA)."
