Updated script of mini-xml for adios package
This commit is contained in:
parent
4e0d47f1dd
commit
0544b164fc
1 changed files with 4 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
||||||
|
import os
|
||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
class Mxml(Package):
|
class Mxml(Package):
|
||||||
"""Mini-XML is a small XML library that you can use to read and write XML
|
"""Mini-XML is a small XML library that you can use to read and write XML
|
||||||
and XML-like data files in your application without requiring large
|
and XML-like data files in your application without requiring large
|
||||||
non-standard libraries"""
|
non-standard libraries
|
||||||
|
"""
|
||||||
|
|
||||||
homepage = "http://www.msweet.org"
|
homepage = "http://www.msweet.org"
|
||||||
url = "http://www.msweet.org/files/project3/mxml-2.9.tar.gz"
|
url = "http://www.msweet.org/files/project3/mxml-2.9.tar.gz"
|
||||||
|
@ -18,7 +20,7 @@ class Mxml(Package):
|
||||||
# Case statement to change CC and CXX flags
|
# Case statement to change CC and CXX flags
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure('--prefix=%s' % prefix, "--disable-shared")
|
configure('--prefix=%s' % prefix, "--disable-shared", 'CFLAGS=-static')
|
||||||
make()
|
make()
|
||||||
make("install")
|
make("install")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue