mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
alien_libxml2: new perl module recipe
This commit is contained in:
53
dev-perl/alien_libxml2/alien_libxml2-0.19.recipe
Normal file
53
dev-perl/alien_libxml2/alien_libxml2-0.19.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="Install the C libxml2 library on your system"
|
||||
DESCRIPTION="This module provides libxml2 for other modules to use."
|
||||
HOMEPAGE="https://metacpan.org/pod/Alien::Libxml2"
|
||||
COPYRIGHT="2013-2022 by Graham Ollis"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Libxml2-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f4a674099bbd5747c0c3b75ead841f3b244935d9ef42ba35368024bd611174c9"
|
||||
SOURCE_DIR="Alien-Libxml2-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
alien_libxml2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
PROVIDES+="
|
||||
alien_libxml2 = $portVersion
|
||||
"
|
||||
fi
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
alien_build$secondaryArchSuffix
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
alien_build$secondaryArchSuffix
|
||||
alien_build_plugin_download_gitlab
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
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