+ Provide basic instructions for providing subversion w/o additional language bindings.

This commit is contained in:
Kelly (KT) Thompson 2016-03-30 09:33:00 -06:00
parent c69b9b7b24
commit 5b1ef64e31
3 changed files with 21 additions and 16 deletions

View File

@ -31,19 +31,6 @@ class Apr(Package):
version('1.5.2', '98492e965963f852ab29f9e61b2ad700')
#variant('ncurses', default=True, description='Enables the build of the ncurses gui')
#variant('qt', default=False, description='Enables the build of cmake-gui')
#variant('doc', default=False, description='Enables the generation of html and man page documentation')
#depends_on('ncurses', when='+ncurses')
#depends_on('qt', when='+qt')
#depends_on('python@2.7.11:', when='+doc')
#depends_on('py-sphinx', when='+doc')
#def url_for_version(self, version):
# """Handle CMake's version-based custom URLs."""
# return 'https://cmake.org/files/v%s/cmake-%s.tar.gz' % (version.up_to(2), version)
def install(self, spec, prefix):
options = ['--prefix=%s' % prefix]
configure(*options)

View File

@ -37,7 +37,13 @@ class Subversion(Package):
depends_on('apr-util')
depends_on('zlib')
depends_on('sqlite')
# Optional: We need swig if we want the Perl, Python or Ruby
# bindings.
#depends_on('swig')
#depends_on('python')
#depends_on('perl')
#depends_on('ruby')
def install(self, spec, prefix):
@ -53,7 +59,19 @@ def install(self, spec, prefix):
configure(*options)
make()
make('install')
#make('swig-py') # python bindings
#make('install-swig-py')
#make('swig-pl') # perl bindings
# python bindings
#make('swig-py',
# 'swig-pydir=/usr/lib/python2.7/site-packages/libsvn',
# 'swig_pydir_extra=/usr/lib/python2.7/site-packages/svn')
#make('install-swig-py',
# 'swig-pydir=/usr/lib/python2.7/site-packages/libsvn',
# 'swig_pydir_extra=/usr/lib/python2.7/site-packages/svn')
# perl bindings
#make('swig-pl')
#make('install-swig-pl')
# ruby bindings
#make('swig-rb')
#make('isntall-swig-rb')