mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
html_parser: bump version, add tests, cleanup
Declare missing dependencies, but commented out
This commit is contained in:
60
dev-perl/html_parser/html_parser-3.82.recipe
Normal file
60
dev-perl/html_parser/html_parser-3.82.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
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="1"
|
||||
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 # missing
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
# html_tagset # missing
|
||||
# http_headers # missing
|
||||
# uri # missing
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user