adding gnu global tags and exuberant ctags
This commit is contained in:
parent
fda208f6b8
commit
889485181e
2 changed files with 38 additions and 0 deletions
14
var/spack/packages/exuberant-ctags/package.py
Normal file
14
var/spack/packages/exuberant-ctags/package.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from spack import *
|
||||
|
||||
class ExuberantCtags(Package):
|
||||
"""The canonical ctags generator"""
|
||||
homepage = "ctags.sourceforge.net"
|
||||
url = "http://downloads.sourceforge.net/project/ctags/ctags/5.8/ctags-5.8.tar.gz"
|
||||
|
||||
version('5.8', 'c00f82ecdcc357434731913e5b48630d')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix=%s' % prefix)
|
||||
|
||||
make()
|
||||
make("install")
|
24
var/spack/packages/global/package.py
Normal file
24
var/spack/packages/global/package.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
from spack import *
|
||||
import os
|
||||
|
||||
|
||||
class Global(Package):
|
||||
""" The Gnu Global tagging system """
|
||||
# FIXME: add a proper url for your package's homepage here.
|
||||
homepage = "http://www.gnu.org/software/global"
|
||||
url = "http://tamacom.com/global/global-6.5.tar.gz"
|
||||
|
||||
version('6.5', 'dfec818b4f53d91721e247cf7b218078')
|
||||
|
||||
depends_on('exuberant-ctags')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
config_args = ['--prefix={}'.format(prefix)]
|
||||
|
||||
config_args.append('--with-exuberant-ctags={}'.format(
|
||||
os.path.join(spec['exuberant-ctags'].prefix.bin, 'ctags')))
|
||||
|
||||
configure(*config_args)
|
||||
|
||||
make()
|
||||
make("install")
|
Loading…
Reference in a new issue