+ On some systems, Dia also requires intltool. (#768)
This commit is contained in:
parent
63bade7a0c
commit
dd84a57580
@ -7,6 +7,7 @@ class Dia(Package):
|
||||
|
||||
version('0.97.3', '0e744a0f6a6c4cb6a089e4d955392c3c')
|
||||
|
||||
depends_on('intltool')
|
||||
depends_on('gtkplus@2.6.0:')
|
||||
depends_on('cairo')
|
||||
#depends_on('libart') # optional dependency, not yet supported by spack.
|
||||
|
19
var/spack/repos/builtin/packages/intltool/package.py
Normal file
19
var/spack/repos/builtin/packages/intltool/package.py
Normal file
@ -0,0 +1,19 @@
|
||||
from spack import *
|
||||
|
||||
class Intltool(Package):
|
||||
"""intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files."""
|
||||
homepage = 'https://freedesktop.org/wiki/Software/intltool/'
|
||||
|
||||
version('0.51.0', '12e517cac2b57a0121cda351570f1e63')
|
||||
|
||||
def url_for_version(self, version):
|
||||
"""Handle version-based custom URLs."""
|
||||
return 'https://launchpad.net/intltool/trunk/%s/+download/intltool-%s.tar.gz' % (version, version)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
|
||||
# configure, build, install:
|
||||
options = ['--prefix=%s' % prefix ]
|
||||
configure(*options)
|
||||
make()
|
||||
make('install')
|
Loading…
Reference in New Issue
Block a user