mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
html_tagset: new perl module recipe
This commit is contained in:
53
dev-perl/html_tagset/html_tagset-3.24.recipe
Normal file
53
dev-perl/html_tagset/html_tagset-3.24.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="Data tables useful in parsing HTML"
|
||||
DESCRIPTION="This module contains several data tables useful in various kinds of HTML parsing \
|
||||
operations.
|
||||
|
||||
Note that all tag names used are lowercase."
|
||||
HOMEPAGE="https://metacpan.org/pod/HTML::Tagset"
|
||||
COPYRIGHT="1995-2000 Gisle Aas.
|
||||
2000-2005 Sean M. Burke.
|
||||
2005-2024 Andy Lester"
|
||||
LICENSE="Artistic v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="eb89e145a608ed1f8f141a57472ee5f69e67592a432dcd2e8b1dbb445f2b230b"
|
||||
SOURCE_DIR="HTML-Tagset-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
html_tagset = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user