mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
61 lines
1.2 KiB
Bash
61 lines
1.2 KiB
Bash
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="https://metacpan.org/release/HTML-Parser"
|
|
COPYRIGHT="1995-2009 Gisle Aas
|
|
1999-2000 Michael A. Chase"
|
|
LICENSE="GNU GPL v1
|
|
Artistic"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/libwww-perl/HTML-Parser/archive/refs/tags/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="93d78cdcda9777892c9d9b58254753ff52b33b5814e5276372efbcd1f237d3d1"
|
|
SOURCE_FILENAME="html_parser-$portVersion.tar.gz"
|
|
SOURCE_DIR="HTML-Parser-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
html_parser$secondaryArchSuffix = $portVersion
|
|
"
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
PROVIDES+="
|
|
html_parser = $portVersion
|
|
"
|
|
fi
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
# html_tagset # missing
|
|
# http_headers # missing
|
|
uri
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
# html_tagset # missing
|
|
# http_headers # missing
|
|
uri
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
perl Makefile.PL PREFIX=$prefix
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make pure_install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|