mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
text_csv_xs: new perl module recipe
This commit is contained in:
56
dev-perl/text_csv_xs/text_csv_xs-1.57.recipe
Normal file
56
dev-perl/text_csv_xs/text_csv_xs-1.57.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="Comma-separated values manipulation routines"
|
||||
DESCRIPTION=" Text::CSV_XS provides facilities for the composition and decomposition of \
|
||||
comma-separated values. An instance of the Text::CSV_XS class will combine fields into a CSV \
|
||||
string and parse a CSV string into fields.
|
||||
The module accepts either strings or files as input and support the use of user-specified \
|
||||
characters for delimiters, separators, and escapes."
|
||||
HOMEPAGE="https://metacpan.org/pod/Text::CSV_XS"
|
||||
COPYRIGHT="2007-2024 H.Merijn Brand
|
||||
1998-2001 Jochen Wiedmann
|
||||
1997 Alan Citterman"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-$portVersion.tgz"
|
||||
CHECKSUM_SHA256="54dd63feb59e80d2ec596ac6bd8f8f80eb2042099fb68e35f3b47901c768621f"
|
||||
SOURCE_DIR="Text-CSV_XS-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
text_csv_xs$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
PROVIDES+="
|
||||
text_csv_xs = $portVersion
|
||||
"
|
||||
fi
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
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