0
0
Fork 0
haikuports/dev-perl/alien_svn/alien_svn-1.8.11.0.recipe

57 lines
1.1 KiB
Bash

SUMMARY="Core module of the subversion perl bindings"
DESCRIPTION="SVN::Core implements higher level functions of fundamental \
subversion functions."
HOMEPAGE="https://metacpan.org/release/Alien-SVN"
COPYRIGHT="2010-2015 Apache Software Foundation"
LICENSE="Artistic"
REVISION="8"
SOURCE_URI="https://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Alien-SVN-v$portVersion.tar.gz"
CHECKSUM_SHA256="acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc68"
SOURCE_DIR="Alien-SVN-v$portVersion"
PATCHES="alien_svn-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
alien_svn = $portVersion
"
REQUIRES="
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
devel:libapr_1
devel:libaprutil_1
devel:libexpat
devel:libsqlite3
devel:libz
lib:libiconv
module_build
"
BUILD_PREREQUIRES="
cmd:awk
cmd:cmp
cmd:diff
cmd:gcc
cmd:grep
cmd:make
cmd:perl
cmd:python
"
BUILD()
{
export CFLAGS=-O0
export CPPFLAGS=-P
export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values
export svn_cv_pycfmt_apr_int64_t=B_PRId64
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
}