+ Provide basic instructions for providing subversion w/o additional language bindings.
This commit is contained in:
@@ -31,19 +31,6 @@ class Apr(Package):
|
|||||||
|
|
||||||
version('1.5.2', '98492e965963f852ab29f9e61b2ad700')
|
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):
|
def install(self, spec, prefix):
|
||||||
options = ['--prefix=%s' % prefix]
|
options = ['--prefix=%s' % prefix]
|
||||||
configure(*options)
|
configure(*options)
|
@@ -37,7 +37,13 @@ class Subversion(Package):
|
|||||||
depends_on('apr-util')
|
depends_on('apr-util')
|
||||||
depends_on('zlib')
|
depends_on('zlib')
|
||||||
depends_on('sqlite')
|
depends_on('sqlite')
|
||||||
|
|
||||||
|
# Optional: We need swig if we want the Perl, Python or Ruby
|
||||||
|
# bindings.
|
||||||
#depends_on('swig')
|
#depends_on('swig')
|
||||||
|
#depends_on('python')
|
||||||
|
#depends_on('perl')
|
||||||
|
#depends_on('ruby')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
|
||||||
@@ -53,7 +59,19 @@ def install(self, spec, prefix):
|
|||||||
configure(*options)
|
configure(*options)
|
||||||
make()
|
make()
|
||||||
make('install')
|
make('install')
|
||||||
#make('swig-py') # python bindings
|
|
||||||
#make('install-swig-py')
|
# python bindings
|
||||||
#make('swig-pl') # perl 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')
|
#make('install-swig-pl')
|
||||||
|
|
||||||
|
# ruby bindings
|
||||||
|
#make('swig-rb')
|
||||||
|
#make('isntall-swig-rb')
|
Reference in New Issue
Block a user