SUMMARY="Core module of the subversion perl bindings"
DESCRIPTION="SVN::Core implements higher level functions of fundamental \
subversion functions."
HOMEPAGE="http://search.cpan.org/~mschwern/Alien-SVN-v1.7.17.1/src/subversion/subversion/bindings/swig/perl/native/Core.pm"
REVISION="1"
COPYRIGHT="2010-2014 Apache Software Foundation"
LICENSE="Artistic"

SOURCE_URI="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Alien-SVN-v1.7.17.1.tar.gz"
CHECKSUM_SHA256="35ae83fda2ef9a5b48012ac8317ec063058d1e9fc5f2719fa141eecedf6baef8"
SOURCE_DIR="Alien-SVN-v1.7.17.1"

ARCHITECTURES="!x86_gcc2"

PROVIDES="
	alien_svn = $portVersion
"

BUILD_REQUIRES="
	devel:libapr_1
	devel:libaprutil_1
	devel:libexpat
	devel:libsqlite3
	devel:libz
	lib:libiconv
"

BUILD_PREREQUIRES="
	haiku_devel
	cmd:awk
	cmd:gcc
	cmd:make
	cmd:perl
	cmd:python
"

BUILD()
{
	perl Build.PL PREFIX=$prefix
	./Build
}

INSTALL()
{
	make install DESTIDR="${DESTDIR}"
}
