Skip to content
Snippets Groups Projects
Commit 5b1ef64e authored by Kelly (KT) Thompson's avatar Kelly (KT) Thompson
Browse files

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

parent c69b9b7b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment