Files
haikuports/dev-perl/xml_parser/xml_parser-2.36.recipe
Humdinger 70b8f948c6 De-linting recipes.
*	flare, freedroidRPG
	Don't start with the app name, in the _data section too...
	Re-order blocks

*	help2man
	SUMMARY must not end with "."
	Re-ordered blocks

*	html_parser, xml_parser
	Corrected license
	Re-ordered blocks

*	jq
	Corrected copy&paste mishap, I guess
	Re-ordered blocks

*	librevenge
	Re-ordered blocks
	Removed email addresses from COPYRIGHT

*	mesa
	Don't start with the app name, in the _swrat and _swpipe sections too...
	Re-ordered blocks

*	qupzilla
	SUMMARY must not end with "."

*	ruby
	Corrected license
	Re-ordered blocks

*	vncserver
	Removed "copyright" from COPYRIGHT
2015-08-08 20:00:24 +02:00

45 lines
962 B
Bash

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/"
COPYRIGHT="1998-2000 Larry Wall and Clark Cooper"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/XML-Parser-2.36.tar.gz"
CHECKSUM_SHA256="9fd529867402456bd826fe0e5588d35b3a2e27e586a2fd838d1352b71c2ed73f"
SOURCE_DIR="XML-Parser-2.36"
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
"
# 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}"
}