mesa and systemd (systemd not working yet)
This commit is contained in:
parent
932f3930f4
commit
1605e04d44
26
var/spack/packages/mesa/package.py
Normal file
26
var/spack/packages/mesa/package.py
Normal file
@ -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")
|
38
var/spack/packages/systemd/package.py
Normal file
38
var/spack/packages/systemd/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user