From d9ebd5fd48505844c948b7bdcec1386c0e39a361 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Thu, 6 May 2010 03:45:59 +0000 Subject: [PATCH] initial bep for XML-Parser --- dev-perl/XML-Parser/XML-Parser-2.36.bep | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-perl/XML-Parser/XML-Parser-2.36.bep diff --git a/dev-perl/XML-Parser/XML-Parser-2.36.bep b/dev-perl/XML-Parser/XML-Parser-2.36.bep new file mode 100644 index 000000000..24e080bca --- /dev/null +++ b/dev-perl/XML-Parser/XML-Parser-2.36.bep @@ -0,0 +1,25 @@ +#dev-perl/XML-Parser +DESCRIPTION="XML-Parser - A perl module for parsing XML documents" +HOMEPAGE="http://search.cpan.org/~msergeant/XML-Parser-2.36/" +SRC_URI="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz" +REVISION="1" +# only tested on gcc4 +STATUS_HAIKU="stable" +DEPEND="" +CHECKSUM_MD5="1b868962b658bd87e1563ecd56498ded" + +# TODO: Remove hardcoded paths. The following shows how to get the the file path: +#find /boot/common/lib/perl5 -type f -name unixish.h | grep -FzZ BePC-haiku/CORE/unixish.h + +BUILD { + cd XML-Parser-2.36 + perl Makefile.PL + mkdir -p /boot/common/lib/perl5/5.10.1/BePC-haiku/CORE/haiku + cp /boot/common/lib/perl5/5.10.1/BePC-haiku/CORE/unixish.h /boot/common/lib/perl5/5.10.1/BePC-haiku/CORE/haiku/haikuish.h + make +} + +INSTALL { + cd XML-Parser-2.36 + make install +}