Alien::SVN: fix build

- gcc2 fixes
- fix installation rule to use the proper paths
This commit is contained in:
Adrien Destugues
2016-03-27 18:02:24 +02:00
parent d25bbed276
commit 56a7c92562
2 changed files with 96 additions and 8 deletions

View File

@@ -0,0 +1,49 @@
SUMMARY="Core module of the subversion perl bindings"
DESCRIPTION="SVN::Core implements higher level functions of fundamental \
subversion functions."
HOMEPAGE="http://search.cpan.org/dist/Alien-SVN/"
REVISION="1"
COPYRIGHT="2010-2015 Apache Software Foundation"
LICENSE="Artistic"
SOURCE_URI="http://search.cpan.org/CPAN/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="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()
{
export CFLAGS=-O0
export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
}