From 0db915b9f21ea4534e88283a9d5eecd93e7a5896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 19 Dec 2013 16:01:10 +0100 Subject: [PATCH] xml_parser: Update recipe --- dev-perl/xml_parser/xml_parser-2.36.recipe | 31 +++++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/dev-perl/xml_parser/xml_parser-2.36.recipe b/dev-perl/xml_parser/xml_parser-2.36.recipe index 4bb691719..9c02605e4 100644 --- a/dev-perl/xml_parser/xml_parser-2.36.recipe +++ b/dev-perl/xml_parser/xml_parser-2.36.recipe @@ -1,25 +1,42 @@ -#dev-perl/XML-Parser +SUMMARY="XML-Parser - A perl module for parsing XML documents" 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" +COPYRIGHT="1998-2000 Larry Wall and Clark Cooper. All rights reserved." +LICENSE="Artistic (Perl)" + +ARCHITECTURES="x86 x86_gcc2" + +PROVIDES=" + xml_parser = $portVersion + " +REQUIRES=" + haiku >= $haikuVersion + lib:libexpat + perl + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libexpat + cmd:gcc + cmd:make + cmd:perl" + +SOURCE_DIR="XML-Parser-2.36" # 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 + perl Makefile.PL PREFIX=$prefix make } INSTALL() { - cd XML-Parser-2.36 make install DESTDIR="${DESTDIR}" }