Files
haikuports/dev-perl/xml_parser/xml_parser-2.36.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

48 lines
991 B
Plaintext

SUMMARY="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"
CHECKSUM_SHA256="9fd529867402456bd826fe0e5588d35b3a2e27e586a2fd838d1352b71c2ed73f"
REVISION="1"
COPYRIGHT="1998-2000 Larry Wall and Clark Cooper. All rights reserved."
LICENSE="Artistic (Perl)"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
xml_parser = $portVersion
"
REQUIRES="
haiku
lib:libexpat
perl
"
BUILD_REQUIRES="
haiku_devel
devel:libexpat
"
BUILD_PREREQUIRES="
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()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}