diff options
author | Alfredo Gimenez <gimenez1@llnl.gov> | 2015-02-07 22:08:50 -0800 |
---|---|---|
committer | Alfredo Gimenez <gimenez1@llnl.gov> | 2015-02-07 22:08:50 -0800 |
commit | 1605e04d444583284a19462206755ecacb219d3b (patch) | |
tree | ca9ad1192ef02b7f6b3e4a1387f180de700f004e /var | |
parent | 932f3930f43e10f22c06ede6bb963a23989443c1 (diff) | |
download | spack-1605e04d444583284a19462206755ecacb219d3b.tar.gz spack-1605e04d444583284a19462206755ecacb219d3b.tar.bz2 spack-1605e04d444583284a19462206755ecacb219d3b.tar.xz spack-1605e04d444583284a19462206755ecacb219d3b.zip |
mesa and systemd (systemd not working yet)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/mesa/package.py | 26 | ||||
-rw-r--r-- | var/spack/packages/systemd/package.py | 38 |
2 files changed, 64 insertions, 0 deletions
diff --git a/var/spack/packages/mesa/package.py b/var/spack/packages/mesa/package.py new file mode 100644 index 0000000000..df28d87700 --- /dev/null +++ b/var/spack/packages/mesa/package.py @@ -0,0 +1,26 @@ +from spack import * + +class Mesa(Package): + """Mesa is an open-source implementation of the OpenGL + specification - a system for rendering interactive 3D graphics.""" + + homepage = "http://www.mesa3d.org" + url = "ftp://ftp.freedesktop.org/pub/mesa/10.4.4/MesaLib-10.4.4.tar.gz" + + version('10.4.4', '8d863a3c209bf5116b2babfccccc68ce') + + depends_on("py-mako") + depends_on("flex") + depends_on("bison") + depends_on("libdrm") + depends_on("dri2proto") + depends_on("libxcb") + depends_on("libxshmfence") + + def install(self, spec, prefix): + # FIXME: Modify the configure line to suit your build system here. + configure("--prefix=%s" % prefix) + + # FIXME: Add logic to build and install here + make() + make("install") diff --git a/var/spack/packages/systemd/package.py b/var/spack/packages/systemd/package.py new file mode 100644 index 0000000000..647b3bda7b --- /dev/null +++ b/var/spack/packages/systemd/package.py @@ -0,0 +1,38 @@ +# FIXME: +# This is a template package file for Spack. We've conveniently +# put "FIXME" labels next to all the things you'll want to change. +# +# Once you've edited all the FIXME's, delete this whole message, +# save this file, and test out your package like this: +# +# spack install systemd +# +# You can always get back here to change things with: +# +# spack edit systemd +# +# See the spack documentation for more information on building +# packages. +# +from spack import * + +class Systemd(Package): + """Systemd is a suite of basic building blocks for a Linux system.""" + + homepage = "http://www.freedesktop.org/wiki/Software/systemd/" + url = "http://www.freedesktop.org/software/systemd/systemd-218.tar.xz" + + version('218', '4e2c511b0a7932d7fc9d79822273aac6') + + depends_on("gperf") + depends_on("coreutils@8.16:") # ln --relative + depends_on("util-linux") # libmount + depends_on("python@2.7:") + depends_on("gcc@4.5:") # pragma gcc diagnostic not allowed inside functions + + def install(self, spec, prefix): + configure("--prefix=%s" % prefix, + "CC=%s/gcc -std=gnu99" % spec['gcc'].prefix.bin) + + make() + make("install") |