html_parser: add recipe for version 3.72.

depends on vendor_perl.
This commit is contained in:
Jerome Duval
2017-05-18 22:23:53 +02:00
parent 52efcc82be
commit 628f5e02e9

View File

@@ -0,0 +1,46 @@
#FIXME: Appending installation info to /packages/html_parser-3.70-1/.self/lib/perl5/5.18.1/BePC-haiku/perllocal.pod
#FIXME: Warning: prerequisite HTML::Tagset 3 not found.
SUMMARY="Encode or decode strings with HTML entities"
DESCRIPTION="The HTML-Parser distribution is is a collection of perl modules \
that parse and extract information from HTML documents."
HOMEPAGE="http://search.cpan.org/~gaas/HTML-Parser/"
COPYRIGHT="1995-2009 Gisle Aas
1999-2000 Michael A. Chase"
LICENSE="GNU GPL v1
Artistic"
REVISION="1"
SOURCE_URI="https://github.com/gisle/html-parser/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="3ac0ef2ed3cf0a7affe46e1e9cffff500d7b22ae59d9b47669dc7efd8ca36d07"
SOURCE_FILENAME="html_parser-$portVersion.tar.gz"
SOURCE_DIR="html-parser-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
html_parser = $portVersion
"
REQUIRES="
haiku
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
sed -i 's/-fstack-protector//g' Makefile
make
}
INSTALL()
{
make install
}