mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
mime_charset: new perl module recipe
This commit is contained in:
49
dev-perl/mime_charset/mime_charset-1.013.1.recipe
Normal file
49
dev-perl/mime_charset/mime_charset-1.013.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Charset Information for MIME"
|
||||
DESCRIPTION="MIME::Charset provides information about character sets used for MIME messages on \
|
||||
Internet."
|
||||
HOMEPAGE="https://metacpan.org/pod/MIME::Charset"
|
||||
COPYRIGHT="2006-2017 Hatuka*nezumi - IKEDA Soji"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1bb7a6e0c0d251f23d6e60bf84c9adefc5b74eec58475bfee4d39107e60870f0"
|
||||
SOURCE_DIR="MIME-Charset-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
mime_charset = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix --skipdeps
|
||||
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