summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJoseph Ciurej <ciurej1@llnl.gov>2016-04-23 12:15:14 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-23 12:15:14 -0700
commitd701d2ccf344ff22fee463504dd85e1d0a5bfdc6 (patch)
treed88225d70fafd8e5271b0a3dbb164accb69d38fe /var
parentfa02f94ca4bada75cca4248665bbc007412294c5 (diff)
downloadspack-d701d2ccf344ff22fee463504dd85e1d0a5bfdc6.tar.gz
spack-d701d2ccf344ff22fee463504dd85e1d0a5bfdc6.tar.bz2
spack-d701d2ccf344ff22fee463504dd85e1d0a5bfdc6.tar.xz
spack-d701d2ccf344ff22fee463504dd85e1d0a5bfdc6.zip
Updated the Swig package file to include versions for all of the popular Swig releases. (#790)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/swig/package.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py
index 8d46c4fe46..78a6c6bbae 100644
--- a/var/spack/repos/builtin/packages/swig/package.py
+++ b/var/spack/repos/builtin/packages/swig/package.py
@@ -22,6 +22,7 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
+
from spack import *
class Swig(Package):
@@ -33,14 +34,19 @@ class Swig(Package):
code. In addition, SWIG provides a variety of customization
features that let you tailor the wrapping process to suit your
application."""
+
homepage = "http://www.swig.org"
- url = "http://prdownloads.sourceforge.net/swig/swig-3.0.2.tar.gz"
+ url = "http://prdownloads.sourceforge.net/swig/swig-3.0.8.tar.gz"
+ version('3.0.8', 'c96a1d5ecb13d38604d7e92148c73c97')
version('3.0.2', '62f9b0d010cef36a13a010dc530d0d41')
+ version('2.0.12', 'c3fb0b2d710cc82ed0154b91e43085a4')
+ version('2.0.2', 'eaf619a4169886923e5f828349504a29')
+ version('1.3.40', '2df766c9e03e02811b1ab4bba1c7b9cc')
depends_on('pcre')
def install(self, spec, prefix):
- configure("--prefix=%s" % prefix)
+ configure('--prefix=%s' % prefix)
make()
- make("install")
+ make('install')