easyblock = 'ConfigureMake'

name = 'Subversion'
version = '1.6.23'

homepage = 'http://subversion.apache.org/'
description = " Subversion is an open source version control system."

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['http://archive.apache.org/dist/subversion/']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('APR', '1.5.0'),
    ('APR-util', '1.5.3'),
    ('SQLite', '3.8.4.1'),
    ('zlib', '1.2.7'),
    ('neon', '0.30.0'),
]

configopts = "--with-apr=$EBROOTAPR/bin/apr-1-config --with-apr-util=$EBROOTAPRMINUTIL/bin/apu-1-config "
configopts += "--with-zlib=$EBROOTZLIB --with-neon=$EBROOTNEON"

sanity_check_paths = {
    'files': ["bin/svn", "bin/svnversion"],
    'dirs': [],
}

moduleclass = 'tools'
