Merge branch 'develop' of https://github.com/LLNL/spack into features/install_with_phases_rebase
Conflicts: lib/spack/spack/cmd/install.py lib/spack/spack/cmd/setup.py
This commit is contained in:
175
var/spack/repos/builtin/packages/abinit/package.py
Normal file
175
var/spack/repos/builtin/packages/abinit/package.py
Normal file
@@ -0,0 +1,175 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
##############################################################################
|
||||
#
|
||||
# Author: Matteo Giantomassi <matteo.giantomassiNOSPAM AT uclouvain.be>
|
||||
# Date: October 11, 2016
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class Abinit(Package):
|
||||
"""ABINIT is a package whose main program allows one to find the total
|
||||
energy, charge density and electronic structure of systems made of
|
||||
electrons and nuclei (molecules and periodic solids) within
|
||||
Density Functional Theory (DFT), using pseudopotentials and a planewave
|
||||
or wavelet basis. ABINIT also includes options to optimize the geometry
|
||||
according to the DFT forces and stresses, or to perform molecular dynamics
|
||||
simulations using these forces, or to generate dynamical matrices,
|
||||
Born effective charges, and dielectric tensors, based on Density-Functional
|
||||
Perturbation Theory, and many more properties. Excited states can be
|
||||
computed within the Many-Body Perturbation Theory (the GW approximation and
|
||||
the Bethe-Salpeter equation), and Time-Dependent Density Functional Theory
|
||||
(for molecules). In addition to the main ABINIT code, different utility
|
||||
programs are provided.
|
||||
"""
|
||||
|
||||
homepage = "http://www.abinit.org"
|
||||
url = "http://ftp.abinit.org/abinit-8.0.8b.tar.gz"
|
||||
|
||||
# Versions before 8.0.8b are not supported.
|
||||
version("8.0.8b", "abc9e303bfa7f9f43f95598f87d84d5d")
|
||||
|
||||
variant('mpi', default=True,
|
||||
description='Builds with MPI support. Requires MPI2+')
|
||||
variant('openmp', default=False,
|
||||
description='Enables OpenMP threads. Use threaded FFTW3')
|
||||
variant('scalapack', default=False,
|
||||
description='Enables scalapack support. Requires MPI')
|
||||
# variant('elpa', default=False,
|
||||
# description='Uses elpa instead of scalapack. Requires MPI')
|
||||
|
||||
# TODO: To be tested.
|
||||
# It was working before the last `git pull` but now all tests crash.
|
||||
# For the time being, the default is netcdf3 and the internal fallbacks
|
||||
variant('hdf5', default=False,
|
||||
description='Enables HDF5+Netcdf4 with MPI. WARNING: experimental')
|
||||
|
||||
# Add dependencies
|
||||
# currently one cannot forward options to virtual packages, see #1712.
|
||||
# depends_on("blas", when="~openmp")
|
||||
# depends_on("blas+openmp", when="+openmp")
|
||||
depends_on('blas')
|
||||
depends_on("lapack")
|
||||
|
||||
# Require MPI2+
|
||||
depends_on("mpi@2:", when="+mpi")
|
||||
|
||||
depends_on("scalapack", when="+scalapack+mpi")
|
||||
# depends_on("elpa", when="+elpa+mpi~openmp")
|
||||
# depends_on("elpa+openmp", when="+elpa+mpi+openmp")
|
||||
|
||||
depends_on("fftw+float", when="~openmp")
|
||||
depends_on("fftw+float+openmp", when="+openmp")
|
||||
|
||||
depends_on("netcdf-fortran", when="+hdf5")
|
||||
depends_on("hdf5+mpi", when='+mpi+hdf5') # required for NetCDF-4 support
|
||||
|
||||
# pin libxc version
|
||||
depends_on("libxc@2.2.1")
|
||||
|
||||
def validate(self, spec):
|
||||
"""
|
||||
Checks if incompatible variants have been activated at the same time
|
||||
|
||||
:param spec: spec of the package
|
||||
:raises RuntimeError: in case of inconsistencies
|
||||
"""
|
||||
error = 'you cannot ask for \'+{variant}\' when \'+mpi\' is not active'
|
||||
|
||||
if '+scalapack' in spec and '~mpi' in spec:
|
||||
raise RuntimeError(error.format(variant='scalapack'))
|
||||
|
||||
if '+elpa' in spec and ('~mpi' in spec or '~scalapack' in spec):
|
||||
raise RuntimeError(error.format(variant='elpa'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
self.validate(spec)
|
||||
|
||||
options = ['--prefix=%s' % prefix]
|
||||
oapp = options.append
|
||||
|
||||
if '+mpi' in spec:
|
||||
# MPI version:
|
||||
# let the configure script auto-detect MPI support from mpi_prefix
|
||||
oapp("--with-mpi-prefix=%s" % spec["mpi"].prefix)
|
||||
oapp("--enable-mpi=yes")
|
||||
oapp("--enable-mpi-io=yes")
|
||||
|
||||
# Activate OpenMP in Abinit Fortran code.
|
||||
if '+openmp' in spec:
|
||||
oapp('--enable-openmp=yes')
|
||||
|
||||
# BLAS/LAPACK
|
||||
if '+scalapack' in spec:
|
||||
oapp("--with-linalg-flavor=custom+scalapack")
|
||||
linalg = (spec['scalapack'].scalapack_libs +
|
||||
spec['lapack'].lapack_libs + spec['blas'].blas_libs)
|
||||
|
||||
# elif '+elpa' in spec:
|
||||
else:
|
||||
oapp("--with-linalg-flavor=custom")
|
||||
linalg = spec['lapack'].lapack_libs + spec['blas'].blas_libs
|
||||
|
||||
oapp("--with-linalg-libs=%s" % linalg.ld_flags)
|
||||
|
||||
# FFTW3: use sequential or threaded version if +openmp
|
||||
fftflavor, fftlibs = "fftw3", "-lfftw3 -lfftw3f"
|
||||
if '+openmp' in spec:
|
||||
fftflavor = "fftw3-threads"
|
||||
fftlibs = "-lfftw3_omp -lfftw3 -lfftw3f"
|
||||
|
||||
options.extend([
|
||||
"--with-fft-flavor=%s" % fftflavor,
|
||||
"--with-fft-incs=-I%s" % spec["fftw"].prefix.include,
|
||||
"--with-fft-libs=-L%s %s" % (spec["fftw"].prefix.lib, fftlibs),
|
||||
])
|
||||
oapp("--with-dft-flavor=atompaw+libxc")
|
||||
|
||||
# LibXC library
|
||||
options.extend([
|
||||
"with_libxc_incs=-I%s" % spec["libxc"].prefix.include,
|
||||
"with_libxc_libs=-L%s -lxcf90 -lxc" % spec["libxc"].prefix.lib,
|
||||
])
|
||||
|
||||
# Netcdf4/HDF5
|
||||
if "+hdf5" in spec:
|
||||
oapp("--with-trio-flavor=netcdf")
|
||||
hdf_libs = "-L%s -lhdf5_hl -lhdf5" % spec["hdf5"].prefix.lib
|
||||
options.extend([
|
||||
"--with-netcdf-incs=-I%s" % (
|
||||
spec["netcdf-fortran"].prefix.include),
|
||||
"--with-netcdf-libs=-L%s -lnetcdff -lnetcdf %s" % (
|
||||
spec["netcdf-fortran"].prefix.lib, hdf_libs),
|
||||
])
|
||||
else:
|
||||
# Use internal fallbacks (netcdf3)
|
||||
oapp("--with-trio-flavor=netcdf-fallback")
|
||||
|
||||
configure(*options)
|
||||
make()
|
||||
|
||||
# make("check")
|
||||
# make("tests_in")
|
||||
make("install")
|
46
var/spack/repos/builtin/packages/applewmproto/package.py
Normal file
46
var/spack/repos/builtin/packages/applewmproto/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Applewmproto(Package):
|
||||
"""Apple Rootless Window Management Extension.
|
||||
|
||||
This extension defines a protcol that allows X window managers
|
||||
to better interact with the Mac OS X Aqua user interface when
|
||||
running X11 in a rootless mode."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/applewmproto"
|
||||
url = "https://www.x.org/archive/individual/proto/applewmproto-1.4.2.tar.gz"
|
||||
|
||||
version('1.4.2', 'ecc8a4424a893ce120f5652dba62e9e6')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
50
var/spack/repos/builtin/packages/appres/package.py
Normal file
50
var/spack/repos/builtin/packages/appres/package.py
Normal file
@@ -0,0 +1,50 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Appres(Package):
|
||||
"""The appres program prints the resources seen by an application (or
|
||||
subhierarchy of an application) with the specified class and instance
|
||||
names. It can be used to determine which resources a particular
|
||||
program will load."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/appres"
|
||||
url = "https://www.x.org/archive/individual/app/appres-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', 'f82aabe6bbb8960781b63c6945bb361b')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libxt')
|
||||
|
||||
depends_on('xproto@7.0.17:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
63
var/spack/repos/builtin/packages/atompaw/package.py
Normal file
63
var/spack/repos/builtin/packages/atompaw/package.py
Normal file
@@ -0,0 +1,63 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Atompaw(Package):
|
||||
"""A Projector Augmented Wave (PAW) code for generating
|
||||
atom-centered functions.
|
||||
|
||||
Official website: http://pwpaw.wfu.edu
|
||||
|
||||
User's guide: ~/doc/atompaw-usersguide.pdf
|
||||
"""
|
||||
homepage = "http://users.wfu.edu/natalie/papers/pwpaw/man.html"
|
||||
url = "http://users.wfu.edu/natalie/papers/pwpaw/atompaw-4.0.0.13.tar.gz"
|
||||
|
||||
version('4.0.0.13', 'af4a042380356f6780183c4b325aad1d')
|
||||
version('3.1.0.3', 'c996a277e11707887177f47bbb229aa6')
|
||||
|
||||
depends_on("lapack")
|
||||
depends_on("blas")
|
||||
|
||||
# pin libxc version
|
||||
depends_on("libxc@2.2.1")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
options = ['--prefix=%s' % prefix]
|
||||
|
||||
linalg = spec['lapack'].lapack_libs + spec['blas'].blas_libs
|
||||
options.extend([
|
||||
"--with-linalg-libs=%s" % linalg.ld_flags,
|
||||
"--enable-libxc",
|
||||
"--with-libxc-incs=-I%s" % spec["libxc"].prefix.include,
|
||||
"--with-libxc-libs=-L%s -lxcf90 -lxc" % spec["libxc"].prefix.lib,
|
||||
])
|
||||
|
||||
configure(*options)
|
||||
make(parallel=False) # parallel build fails
|
||||
make("check")
|
||||
make("install")
|
28
var/spack/repos/builtin/packages/bazel/cc_configure.patch
Normal file
28
var/spack/repos/builtin/packages/bazel/cc_configure.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
--- bazel-0.3.1/tools/cpp/cc_configure.bzl 2016-10-13 14:00:32.118358387 +0200
|
||||
+++ bazel-0.3.1/tools/cpp/cc_configure.bzl 2016-10-13 13:52:45.342610147 +0200
|
||||
@@ -173,8 +173,23 @@
|
||||
else:
|
||||
inc_dirs = result.stderr[index1 + 1:index2].strip()
|
||||
|
||||
- return [repository_ctx.path(_cxx_inc_convert(p))
|
||||
- for p in inc_dirs.split("\n")]
|
||||
+ default_inc_directories = [
|
||||
+ repository_ctx.path(_cxx_inc_convert(p))
|
||||
+ for p in inc_dirs.split("\n")
|
||||
+ ]
|
||||
+
|
||||
+ env = repository_ctx.os.environ
|
||||
+ if "SPACK_DEPENDENCIES" in env:
|
||||
+ for dep in env["SPACK_DEPENDENCIES"].split(":"):
|
||||
+ path = dep + "/include"
|
||||
+ # path = repository_ctx.os.path.join(dep, "include")
|
||||
+ # if not repository_ctx.os.path.exists(path):
|
||||
+ # continue
|
||||
+ default_inc_directories.append(
|
||||
+ repository_ctx.path(_cxx_inc_convert(path))
|
||||
+ )
|
||||
+
|
||||
+ return default_inc_directories
|
||||
|
||||
def _add_option_if_supported(repository_ctx, cc, option):
|
||||
"""Checks that `option` is supported by the C compiler."""
|
119
var/spack/repos/builtin/packages/bazel/fix_env_handling.patch
Normal file
119
var/spack/repos/builtin/packages/bazel/fix_env_handling.patch
Normal file
@@ -0,0 +1,119 @@
|
||||
diff -pu bazel-0.3.1/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelConfiguration.java bazel-0.3.1/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelConfiguration.java
|
||||
--- bazel-0.3.1/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelConfiguration.java 2016-09-14 11:56:01.565756979 +0200
|
||||
+++ bazel-0.3.1/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelConfiguration.java 2016-09-14 12:04:13.292839801 +0200
|
||||
@@ -92,5 +92,115 @@ public class BazelConfiguration extends
|
||||
if (tmpdir != null) {
|
||||
builder.put("TMPDIR", tmpdir);
|
||||
}
|
||||
+
|
||||
+ String spack_prefix = System.getenv("SPACK_PREFIX");
|
||||
+ if (spack_prefix != null) {
|
||||
+ builder.put("SPACK_PREFIX", spack_prefix);
|
||||
+ }
|
||||
+
|
||||
+ String spack_env_path = System.getenv("SPACK_ENV_PATH");
|
||||
+ if (spack_env_path != null) {
|
||||
+ builder.put("SPACK_ENV_PATH", spack_env_path);
|
||||
+ }
|
||||
+
|
||||
+ String spack_debug_log_dir = System.getenv("SPACK_DEBUG_LOG_DIR");
|
||||
+ if (spack_debug_log_dir != null) {
|
||||
+ builder.put("SPACK_DEBUG_LOG_DIR", spack_debug_log_dir);
|
||||
+ }
|
||||
+
|
||||
+ String spack_compiler_spec = System.getenv("SPACK_COMPILER_SPEC");
|
||||
+ if (spack_compiler_spec != null) {
|
||||
+ builder.put("SPACK_COMPILER_SPEC", spack_compiler_spec);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cc_rpath_arg = System.getenv("SPACK_CC_RPATH_ARG");
|
||||
+ if (spack_cc_rpath_arg != null) {
|
||||
+ builder.put("SPACK_CC_RPATH_ARG", spack_cc_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxx_rpath_arg = System.getenv("SPACK_CXX_RPATH_ARG");
|
||||
+ if (spack_cxx_rpath_arg != null) {
|
||||
+ builder.put("SPACK_CXX_RPATH_ARG", spack_cxx_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_f77_rpath_arg = System.getenv("SPACK_F77_RPATH_ARG");
|
||||
+ if (spack_f77_rpath_arg != null) {
|
||||
+ builder.put("SPACK_F77_RPATH_ARG", spack_f77_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fc_rpath_arg = System.getenv("SPACK_FC_RPATH_ARG");
|
||||
+ if (spack_fc_rpath_arg != null) {
|
||||
+ builder.put("SPACK_FC_RPATH_ARG", spack_fc_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_short_spec = System.getenv("SPACK_SHORT_SPEC");
|
||||
+ if (spack_short_spec != null) {
|
||||
+ builder.put("SPACK_SHORT_SPEC", spack_short_spec);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cc = System.getenv("SPACK_CC");
|
||||
+ if (spack_cc != null) {
|
||||
+ builder.put("SPACK_CC", spack_cc);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxx = System.getenv("SPACK_CXX");
|
||||
+ if (spack_cxx != null) {
|
||||
+ builder.put("SPACK_CXX", spack_cxx);
|
||||
+ }
|
||||
+
|
||||
+ String spack_f77 = System.getenv("SPACK_F77");
|
||||
+ if (spack_f77 != null) {
|
||||
+ builder.put("SPACK_F77", spack_f77);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fc = System.getenv("SPACK_FC");
|
||||
+ if (spack_fc != null) {
|
||||
+ builder.put("SPACK_FC", spack_fc);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cflags = System.getenv("SPACK_CFLAGS");
|
||||
+ if (spack_cflags != null) {
|
||||
+ builder.put("SPACK_CFLAGS", spack_cflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxxflags = System.getenv("SPACK_CXXFLAGS");
|
||||
+ if (spack_cxxflags != null) {
|
||||
+ builder.put("SPACK_CXXFLAGS", spack_cxxflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fcflags = System.getenv("SPACK_FCFLAGS");
|
||||
+ if (spack_fcflags != null) {
|
||||
+ builder.put("SPACK_FCFLAGS", spack_fcflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fflags = System.getenv("SPACK_FFLAGS");
|
||||
+ if (spack_fflags != null) {
|
||||
+ builder.put("SPACK_FFLAGS", spack_fflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_ldflags = System.getenv("SPACK_LDFLAGS");
|
||||
+ if (spack_ldflags != null) {
|
||||
+ builder.put("SPACK_LDFLAGS", spack_ldflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_ldlibs = System.getenv("SPACK_LDLIBS");
|
||||
+ if (spack_ldlibs != null) {
|
||||
+ builder.put("SPACK_LDLIBS", spack_ldlibs);
|
||||
+ }
|
||||
+
|
||||
+ String spack_debug = System.getenv("SPACK_DEBUG");
|
||||
+ if (spack_debug != null) {
|
||||
+ builder.put("SPACK_DEBUG", spack_debug);
|
||||
+ }
|
||||
+
|
||||
+ String spack_test_command = System.getenv("SPACK_TEST_COMMAND");
|
||||
+ if (spack_test_command != null) {
|
||||
+ builder.put("SPACK_TEST_COMMAND", spack_test_command);
|
||||
+ }
|
||||
+
|
||||
+ String spack_dependencies = System.getenv("SPACK_DEPENDENCIES");
|
||||
+ if (spack_dependencies != null) {
|
||||
+ builder.put("SPACK_DEPENDENCIES", spack_dependencies);
|
||||
+ }
|
||||
}
|
||||
}
|
133
var/spack/repos/builtin/packages/bazel/link.patch
Normal file
133
var/spack/repos/builtin/packages/bazel/link.patch
Normal file
@@ -0,0 +1,133 @@
|
||||
--- bazel-0.3.1/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java 2016-07-29 10:22:16.000000000 +0200
|
||||
+++ bazel-0.3.1/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java 2016-10-13 15:21:35.036617890 +0200
|
||||
@@ -214,6 +214,130 @@
|
||||
.getParentDirectory()
|
||||
.getPathString());
|
||||
}
|
||||
+
|
||||
+ String path = System.getenv("PATH");
|
||||
+ result.put("PATH", path == null ? "/bin:/usr/bin" : path);
|
||||
+
|
||||
+ String ldLibraryPath = System.getenv("LD_LIBRARY_PATH");
|
||||
+ if (ldLibraryPath != null) {
|
||||
+ result.put("LD_LIBRARY_PATH", ldLibraryPath);
|
||||
+ }
|
||||
+
|
||||
+ String tmpdir = System.getenv("TMPDIR");
|
||||
+ if (tmpdir != null) {
|
||||
+ result.put("TMPDIR", tmpdir);
|
||||
+ }
|
||||
+
|
||||
+ String spack_prefix = System.getenv("SPACK_PREFIX");
|
||||
+ if (spack_prefix != null) {
|
||||
+ result.put("SPACK_PREFIX", spack_prefix);
|
||||
+ }
|
||||
+
|
||||
+ String spack_env_path = System.getenv("SPACK_ENV_PATH");
|
||||
+ if (spack_env_path != null) {
|
||||
+ result.put("SPACK_ENV_PATH", spack_env_path);
|
||||
+ }
|
||||
+
|
||||
+ String spack_debug_log_dir = System.getenv("SPACK_DEBUG_LOG_DIR");
|
||||
+ if (spack_debug_log_dir != null) {
|
||||
+ result.put("SPACK_DEBUG_LOG_DIR", spack_debug_log_dir);
|
||||
+ }
|
||||
+
|
||||
+ String spack_compiler_spec = System.getenv("SPACK_COMPILER_SPEC");
|
||||
+ if (spack_compiler_spec != null) {
|
||||
+ result.put("SPACK_COMPILER_SPEC", spack_compiler_spec);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cc_rpath_arg = System.getenv("SPACK_CC_RPATH_ARG");
|
||||
+ if (spack_cc_rpath_arg != null) {
|
||||
+ result.put("SPACK_CC_RPATH_ARG", spack_cc_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxx_rpath_arg = System.getenv("SPACK_CXX_RPATH_ARG");
|
||||
+ if (spack_cxx_rpath_arg != null) {
|
||||
+ result.put("SPACK_CXX_RPATH_ARG", spack_cxx_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_f77_rpath_arg = System.getenv("SPACK_F77_RPATH_ARG");
|
||||
+ if (spack_f77_rpath_arg != null) {
|
||||
+ result.put("SPACK_F77_RPATH_ARG", spack_f77_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fc_rpath_arg = System.getenv("SPACK_FC_RPATH_ARG");
|
||||
+ if (spack_fc_rpath_arg != null) {
|
||||
+ result.put("SPACK_FC_RPATH_ARG", spack_fc_rpath_arg);
|
||||
+ }
|
||||
+
|
||||
+ String spack_short_spec = System.getenv("SPACK_SHORT_SPEC");
|
||||
+ if (spack_short_spec != null) {
|
||||
+ result.put("SPACK_SHORT_SPEC", spack_short_spec);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cc = System.getenv("SPACK_CC");
|
||||
+ if (spack_cc != null) {
|
||||
+ result.put("SPACK_CC", spack_cc);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxx = System.getenv("SPACK_CXX");
|
||||
+ if (spack_cxx != null) {
|
||||
+ result.put("SPACK_CXX", spack_cxx);
|
||||
+ }
|
||||
+
|
||||
+ String spack_f77 = System.getenv("SPACK_F77");
|
||||
+ if (spack_f77 != null) {
|
||||
+ result.put("SPACK_F77", spack_f77);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fc = System.getenv("SPACK_FC");
|
||||
+ if (spack_fc != null) {
|
||||
+ result.put("SPACK_FC", spack_fc);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cflags = System.getenv("SPACK_CFLAGS");
|
||||
+ if (spack_cflags != null) {
|
||||
+ result.put("SPACK_CFLAGS", spack_cflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_cxxflags = System.getenv("SPACK_CXXFLAGS");
|
||||
+ if (spack_cxxflags != null) {
|
||||
+ result.put("SPACK_CXXFLAGS", spack_cxxflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fcflags = System.getenv("SPACK_FCFLAGS");
|
||||
+ if (spack_fcflags != null) {
|
||||
+ result.put("SPACK_FCFLAGS", spack_fcflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_fflags = System.getenv("SPACK_FFLAGS");
|
||||
+ if (spack_fflags != null) {
|
||||
+ result.put("SPACK_FFLAGS", spack_fflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_ldflags = System.getenv("SPACK_LDFLAGS");
|
||||
+ if (spack_ldflags != null) {
|
||||
+ result.put("SPACK_LDFLAGS", spack_ldflags);
|
||||
+ }
|
||||
+
|
||||
+ String spack_ldlibs = System.getenv("SPACK_LDLIBS");
|
||||
+ if (spack_ldlibs != null) {
|
||||
+ result.put("SPACK_LDLIBS", spack_ldlibs);
|
||||
+ }
|
||||
+
|
||||
+ String spack_debug = System.getenv("SPACK_DEBUG");
|
||||
+ if (spack_debug != null) {
|
||||
+ result.put("SPACK_DEBUG", spack_debug);
|
||||
+ }
|
||||
+
|
||||
+ String spack_test_command = System.getenv("SPACK_TEST_COMMAND");
|
||||
+ if (spack_test_command != null) {
|
||||
+ result.put("SPACK_TEST_COMMAND", spack_test_command);
|
||||
+ }
|
||||
+
|
||||
+ String spack_dependencies = System.getenv("SPACK_DEPENDENCIES");
|
||||
+ if (spack_dependencies != null) {
|
||||
+ result.put("SPACK_DEPENDENCIES", spack_dependencies);
|
||||
+ }
|
||||
+
|
||||
return result.build();
|
||||
}
|
||||
|
89
var/spack/repos/builtin/packages/bazel/package.py
Normal file
89
var/spack/repos/builtin/packages/bazel/package.py
Normal file
@@ -0,0 +1,89 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 *
|
||||
from multiprocessing import cpu_count
|
||||
from spack.util.environment import env_flag
|
||||
from spack.build_environment import SPACK_NO_PARALLEL_MAKE
|
||||
|
||||
|
||||
class Bazel(Package):
|
||||
"""Bazel is Google's own build tool"""
|
||||
|
||||
homepage = "https://www.bazel.io"
|
||||
url = "https://github.com/bazelbuild/bazel/archive/0.3.1.tar.gz"
|
||||
|
||||
version('0.3.1', '5c959467484a7fc7dd2e5e4a1e8e866b')
|
||||
version('0.3.0', '33a2cb457d28e1bee9282134769b9283')
|
||||
version('0.2.3', '393a491d690e43caaba88005efe6da91')
|
||||
version('0.2.2b', '75081804f073cbd194da1a07b16cba5f')
|
||||
version('0.2.2', '644bc4ea7f429d835e74f255dc1054e6')
|
||||
|
||||
depends_on('jdk@8:')
|
||||
patch('fix_env_handling.patch')
|
||||
patch('link.patch')
|
||||
patch('cc_configure.patch')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
bash = which('bash')
|
||||
bash('-c', './compile.sh')
|
||||
mkdir(prefix.bin)
|
||||
install('output/bazel', prefix.bin)
|
||||
|
||||
def setup_dependent_package(self, module, dep_spec):
|
||||
class BazelExecutable(Executable):
|
||||
"""Special callable executable object for bazel so the user can
|
||||
specify parallel or not on a per-invocation basis. Using
|
||||
'parallel' as a kwarg will override whatever the package's
|
||||
global setting is, so you can either default to true or false
|
||||
and override particular calls.
|
||||
|
||||
Note that if the SPACK_NO_PARALLEL_MAKE env var is set it
|
||||
overrides everything.
|
||||
"""
|
||||
|
||||
def __init__(self, name, command, jobs):
|
||||
super(BazelExecutable, self).__init__(name)
|
||||
self.bazel_command = command
|
||||
self.jobs = jobs
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
disable = env_flag(SPACK_NO_PARALLEL_MAKE)
|
||||
parallel = ((not disable) and
|
||||
kwargs.get('parallel', self.jobs > 1))
|
||||
|
||||
jobs = "--jobs=1"
|
||||
if parallel:
|
||||
jobs = "--jobs=%d" % self.jobs
|
||||
|
||||
args = (self.bazel_command,) + (jobs,) + args
|
||||
|
||||
return super(BazelExecutable, self).__call__(*args, **kwargs)
|
||||
|
||||
jobs = cpu_count()
|
||||
if not dep_spec.package.parallel:
|
||||
jobs = 1
|
||||
elif dep_spec.package.make_jobs:
|
||||
jobs = dep_spec.package.make_jobs
|
||||
module.bazel = BazelExecutable('bazel', 'build', jobs)
|
50
var/spack/repos/builtin/packages/bdftopcf/package.py
Normal file
50
var/spack/repos/builtin/packages/bdftopcf/package.py
Normal file
@@ -0,0 +1,50 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Bdftopcf(Package):
|
||||
"""bdftopcf is a font compiler for the X server and font server. Fonts
|
||||
in Portable Compiled Format can be read by any architecture, although
|
||||
the file is structured to allow one particular architecture to read
|
||||
them directly without reformatting. This allows fast reading on the
|
||||
appropriate machine, but the files are still portable (but read more
|
||||
slowly) on other machines."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/bdftopcf"
|
||||
url = "https://www.x.org/archive/individual/app/bdftopcf-1.0.5.tar.gz"
|
||||
|
||||
version('1.0.5', '456416d33e0d41a96b5a3725d99e1be3')
|
||||
|
||||
depends_on('libxfont')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
50
var/spack/repos/builtin/packages/beforelight/package.py
Normal file
50
var/spack/repos/builtin/packages/beforelight/package.py
Normal file
@@ -0,0 +1,50 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Beforelight(Package):
|
||||
"""The beforelight program is a sample implementation of a screen saver
|
||||
for X servers supporting the MIT-SCREEN-SAVER extension. It is only
|
||||
recommended for use as a code sample, as it does not include features
|
||||
such as screen locking or configurability."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/beforelight"
|
||||
url = "https://www.x.org/archive/individual/app/beforelight-1.0.5.tar.gz"
|
||||
|
||||
version('1.0.5', 'f0433eb6df647f36bbb5b38fb2beb22a')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libxscrnsaver')
|
||||
depends_on('libxt')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
45
var/spack/repos/builtin/packages/bigreqsproto/package.py
Normal file
45
var/spack/repos/builtin/packages/bigreqsproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Bigreqsproto(Package):
|
||||
"""Big Requests Extension.
|
||||
|
||||
This extension defines a protocol to enable the use of requests
|
||||
that exceed 262140 bytes in length."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/bigreqsproto"
|
||||
url = "https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz"
|
||||
|
||||
version('1.1.2', '9b83369ac7a5eb2bf54c8f34db043a0e')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
51
var/spack/repos/builtin/packages/bitmap/package.py
Normal file
51
var/spack/repos/builtin/packages/bitmap/package.py
Normal file
@@ -0,0 +1,51 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Bitmap(Package):
|
||||
"""bitmap, bmtoa, atobm - X bitmap (XBM) editor and converter utilities."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/bitmap"
|
||||
url = "https://www.x.org/archive/individual/app/bitmap-1.0.8.tar.gz"
|
||||
|
||||
version('1.0.8', '0ca600041bb0836ae7c9f5db5ce09091')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libxmu')
|
||||
depends_on('libxaw')
|
||||
depends_on('libxmu')
|
||||
depends_on('libxt')
|
||||
|
||||
depends_on('xbitmaps', type='build')
|
||||
depends_on('xproto@7.0.25:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -57,14 +57,13 @@ class CbtfArgonavis(Package):
|
||||
version('1.6', branch='master',
|
||||
git='https://github.com/OpenSpeedShop/cbtf-argonavis.git')
|
||||
|
||||
depends_on("cmake@3.0.2", type='build')
|
||||
depends_on("cmake@3.0.2:", type='build')
|
||||
depends_on("boost@1.50.0:")
|
||||
depends_on("papi")
|
||||
depends_on("mrnet@5.0.1:+lwthreads+krellpatch")
|
||||
depends_on("mrnet@5.0.1:+lwthreads")
|
||||
depends_on("cbtf")
|
||||
depends_on("cbtf-krell")
|
||||
depends_on("cuda@6.0.37")
|
||||
# depends_on("cuda")
|
||||
depends_on("cuda")
|
||||
|
||||
parallel = False
|
||||
|
||||
|
@@ -74,7 +74,7 @@ class CbtfKrell(Package):
|
||||
description="Build mpi experiment collector for mpich MPI.")
|
||||
|
||||
# Dependencies for cbtf-krell
|
||||
depends_on("cmake@3.0.2", type='build')
|
||||
depends_on("cmake@3.0.2:", type='build')
|
||||
|
||||
# For binutils service
|
||||
depends_on("binutils@2.24+krellpatch")
|
||||
@@ -82,7 +82,7 @@ class CbtfKrell(Package):
|
||||
# collectionTool
|
||||
depends_on("boost@1.50.0:")
|
||||
depends_on("dyninst@8.2.1:")
|
||||
depends_on("mrnet@5.0.1:+lwthreads+krellpatch")
|
||||
depends_on("mrnet@5.0.1:+lwthreads")
|
||||
|
||||
depends_on("xerces-c@3.1.1:")
|
||||
depends_on("cbtf")
|
||||
@@ -138,34 +138,22 @@ def set_mpi_cmakeOptions(self, spec, cmakeOptions):
|
||||
|
||||
# openmpi
|
||||
if '+openmpi' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DOPENMPI_DIR=%s' % spec['openmpi'].prefix
|
||||
])
|
||||
MPIOptions.append('-DOPENMPI_DIR=%s' % spec['openmpi'].prefix)
|
||||
# mpich
|
||||
if '+mpich' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DMPICH_DIR=%s' % spec['mpich'].prefix
|
||||
])
|
||||
MPIOptions.append('-DMPICH_DIR=%s' % spec['mpich'].prefix)
|
||||
# mpich2
|
||||
if '+mpich2' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DMPICH2_DIR=%s' % spec['mpich2'].prefix
|
||||
])
|
||||
MPIOptions.append('-DMPICH2_DIR=%s' % spec['mpich2'].prefix)
|
||||
# mvapich
|
||||
if '+mvapich' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DMVAPICH_DIR=%s' % spec['mvapich'].prefix
|
||||
])
|
||||
MPIOptions.append('-DMVAPICH_DIR=%s' % spec['mvapich'].prefix)
|
||||
# mvapich2
|
||||
if '+mvapich2' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DMVAPICH2_DIR=%s' % spec['mvapich2'].prefix
|
||||
])
|
||||
MPIOptions.append('-DMVAPICH2_DIR=%s' % spec['mvapich2'].prefix)
|
||||
# mpt
|
||||
if '+mpt' in spec:
|
||||
MPIOptions.extend([
|
||||
'-DMPT_DIR=%s' % spec['mpt'].prefix
|
||||
])
|
||||
MPIOptions.append('-DMPT_DIR=%s' % spec['mpt'].prefix)
|
||||
|
||||
cmakeOptions.extend(MPIOptions)
|
||||
|
||||
|
@@ -55,9 +55,9 @@ class CbtfLanl(Package):
|
||||
version('1.6', branch='master',
|
||||
git='http://git.code.sf.net/p/cbtf-lanl/cbtf-lanl')
|
||||
|
||||
depends_on("cmake@3.0.2", type='build')
|
||||
depends_on("cmake@3.0.2:", type='build')
|
||||
# Dependencies for cbtf-krell
|
||||
depends_on("mrnet@5.0.1:+lwthreads+krellpatch")
|
||||
depends_on("mrnet@5.0.1:+lwthreads")
|
||||
depends_on("xerces-c@3.1.1:")
|
||||
depends_on("cbtf")
|
||||
depends_on("cbtf-krell")
|
||||
|
@@ -63,9 +63,9 @@ class Cbtf(Package):
|
||||
variant('runtime', default=False,
|
||||
description="build only the runtime libraries and collectors.")
|
||||
|
||||
depends_on("cmake@3.0.2", type='build')
|
||||
depends_on("cmake@3.0.2:", type='build')
|
||||
depends_on("boost@1.50.0:")
|
||||
depends_on("mrnet@5.0.1:+lwthreads+krellpatch")
|
||||
depends_on("mrnet@5.0.1:+lwthreads")
|
||||
depends_on("xerces-c@3.1.1:")
|
||||
# Work around for spack libxml2 package bug, take off python when fixed
|
||||
depends_on("libxml2+python")
|
||||
|
@@ -37,7 +37,7 @@ class Cdd(Package):
|
||||
|
||||
def url_for_version(self, version):
|
||||
return ("ftp://ftp.ifor.math.ethz.ch/pub/fukuda/cdd/cdd-%s.tar.gz" %
|
||||
str(version.dotted()).replace('.', ''))
|
||||
str(version.dotted).replace('.', ''))
|
||||
|
||||
version('0.61a', '22c24a7a9349dd7ec0e24531925a02d9')
|
||||
|
||||
|
@@ -44,13 +44,31 @@ class Cgal(Package):
|
||||
variant('debug', default=False,
|
||||
description='Builds a debug version of the libraries')
|
||||
|
||||
# ---- See "7 CGAL Libraries" at:
|
||||
# http://doc.cgal.org/latest/Manual/installation.html
|
||||
|
||||
# The CORE library provides exact arithmetic for geometric computations.
|
||||
# See: http://cs.nyu.edu/exact/core_pages/
|
||||
# http://cs.nyu.edu/exact/core_pages/svn-core.html
|
||||
variant('core', default=False,
|
||||
description='Build the CORE library for algebraic numbers')
|
||||
variant('imageio', default=False,
|
||||
description='Build utilities to read/write image files')
|
||||
variant('demos', default=False,
|
||||
description='Build CGAL demos')
|
||||
|
||||
# Essential Third Party Libraries
|
||||
depends_on('boost')
|
||||
depends_on('boost+thread+system')
|
||||
depends_on('gmp')
|
||||
depends_on('mpfr')
|
||||
|
||||
# Required for CGAL_ImageIO
|
||||
# depends_on('opengl', when='+imageio') # not yet in Spack
|
||||
depends_on('zlib')
|
||||
# depends_on('opengl')
|
||||
depends_on('qt@5:')
|
||||
|
||||
# Optional to build CGAL_Qt5 (demos)
|
||||
# depends_on('opengl', when='+demos') # not yet in Spack
|
||||
depends_on('qt@5:', when='+demos')
|
||||
|
||||
# Optional Third Party Libraries
|
||||
# depends_on('leda')
|
||||
@@ -70,20 +88,19 @@ def install(self, spec, prefix):
|
||||
# Installation instructions:
|
||||
# http://doc.cgal.org/latest/Manual/installation.html
|
||||
|
||||
options = []
|
||||
options.extend(std_cmake_args)
|
||||
|
||||
# CGAL supports only Release and Debug build type. Any other build type
|
||||
# will raise an error at configure time
|
||||
if '+debug' in spec:
|
||||
options.append('-DCMAKE_BUILD_TYPE:STRING=Debug')
|
||||
else:
|
||||
options.append('-DCMAKE_BUILD_TYPE:STRING=Release')
|
||||
|
||||
if '+shared' in spec:
|
||||
options.append('-DBUILD_SHARED_LIBS:BOOL=ON')
|
||||
else:
|
||||
options.append('-DBUILD_SHARED_LIBS:BOOL=OFF')
|
||||
options = std_cmake_args + [
|
||||
# CGAL supports only Release and Debug build type. Any
|
||||
# other build type will raise an error at configure time
|
||||
'-DCMAKE_BUILD_TYPE:STRING=%s' %
|
||||
('Debug' if '+debug' in spec else 'Release'),
|
||||
'-DBUILD_SHARED_LIBS:BOOL=%s' %
|
||||
('ON' if '+shared' in spec else 'OFF'),
|
||||
'-DWITH_CGAL_Core:BOOL=%s' %
|
||||
('YES' if '+core' in spec else 'NO'),
|
||||
'-DWITH_CGAL_ImageIO:BOOL=%s' %
|
||||
('YES' if '+imageio' in spec else 'NO'),
|
||||
'-DWITH_CGAL_Qt5:BOOL=%s' %
|
||||
('YES' if '+demos' in spec else 'NO')]
|
||||
|
||||
with working_dir('spack-build', create=True):
|
||||
cmake('..', *options)
|
||||
|
63
var/spack/repos/builtin/packages/compiz/package.py
Normal file
63
var/spack/repos/builtin/packages/compiz/package.py
Normal file
@@ -0,0 +1,63 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Compiz(Package):
|
||||
"""compiz - OpenGL window and compositing manager.
|
||||
|
||||
Compiz is an OpenGL compositing manager that use
|
||||
GLX_EXT_texture_from_pixmap for binding redirected top-level
|
||||
windows to texture objects. It has a flexible plug-in system
|
||||
and it is designed to run well on most graphics hardware."""
|
||||
|
||||
homepage = "http://www.compiz.org/"
|
||||
url = "https://www.x.org/archive/individual/app/compiz-0.7.8.tar.gz"
|
||||
|
||||
version('0.7.8', 'e99977d9170a7bd5d571004eed038428')
|
||||
|
||||
depends_on('libxcb')
|
||||
depends_on('libxcomposite')
|
||||
depends_on('libxfixes')
|
||||
depends_on('libxdamage')
|
||||
depends_on('libxrandr')
|
||||
depends_on('libxinerama')
|
||||
depends_on('libice')
|
||||
depends_on('libsm')
|
||||
depends_on('libxml2')
|
||||
depends_on('libxslt')
|
||||
|
||||
# TODO: add dependencies
|
||||
# libstartup-notification-1.0 >= 0.7
|
||||
depends_on('libxrender')
|
||||
depends_on('libpng')
|
||||
depends_on('glib')
|
||||
depends_on('gconf')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
45
var/spack/repos/builtin/packages/compositeproto/package.py
Normal file
45
var/spack/repos/builtin/packages/compositeproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Compositeproto(Package):
|
||||
"""Composite Extension.
|
||||
|
||||
This package contains header files and documentation for the composite
|
||||
extension. Library and server implementations are separate."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/compositeproto"
|
||||
url = "https://www.x.org/archive/individual/proto/compositeproto-0.4.2.tar.gz"
|
||||
|
||||
version('0.4.2', '2dea7c339432b3363faf2d29c208e7b5')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
47
var/spack/repos/builtin/packages/constype/package.py
Normal file
47
var/spack/repos/builtin/packages/constype/package.py
Normal file
@@ -0,0 +1,47 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Constype(Package):
|
||||
"""constype prints on the standard output the Sun code for the type of
|
||||
display that the specified device is.
|
||||
|
||||
It was originally written for SunOS, but has been ported to other
|
||||
SPARC OS'es and to Solaris on both SPARC & x86."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/constype"
|
||||
url = "https://www.x.org/archive/individual/app/constype-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '2333b9ac9fd32e58b05afa651c4590a3')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
45
var/spack/repos/builtin/packages/damageproto/package.py
Normal file
45
var/spack/repos/builtin/packages/damageproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Damageproto(Package):
|
||||
"""X Damage Extension.
|
||||
|
||||
This package contains header files and documentation for the X Damage
|
||||
extension. Library and server implementations are separate."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/proto/damageproto"
|
||||
url = "https://www.x.org/releases/individual/proto/damageproto-1.2.1.tar.gz"
|
||||
|
||||
version('1.2.1', 'bf8c47b7f48625230cff155180f8ddce')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
@@ -244,118 +244,5 @@ def install(self, spec, prefix):
|
||||
make("test")
|
||||
make("install")
|
||||
|
||||
# run some MPI examples with different solvers from PETSc and Trilinos
|
||||
if self.run_tests:
|
||||
env['DEAL_II_DIR'] = prefix
|
||||
print('=====================================')
|
||||
print('============ EXAMPLES ===============')
|
||||
print('=====================================')
|
||||
# take bare-bones step-3
|
||||
print('=====================================')
|
||||
print('============ Step-3 =================')
|
||||
print('=====================================')
|
||||
with working_dir('examples/step-3'):
|
||||
cmake('.')
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
# An example which uses Metis + PETSc
|
||||
# FIXME: switch step-18 to MPI
|
||||
with working_dir('examples/step-18'):
|
||||
print('=====================================')
|
||||
print('============= Step-18 ===============')
|
||||
print('=====================================')
|
||||
# list the number of cycles to speed up
|
||||
filter_file(r'(end_time = 10;)', ('end_time = 3;'),
|
||||
'step-18.cc')
|
||||
if '^petsc' in spec and '^metis' in spec:
|
||||
cmake('.')
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
# take step-40 which can use both PETSc and Trilinos
|
||||
# FIXME: switch step-40 to MPI run
|
||||
with working_dir('examples/step-40'):
|
||||
print('=====================================')
|
||||
print('========== Step-40 PETSc ============')
|
||||
print('=====================================')
|
||||
# list the number of cycles to speed up
|
||||
filter_file(r'(const unsigned int n_cycles = 8;)',
|
||||
('const unsigned int n_cycles = 2;'), 'step-40.cc')
|
||||
cmake('.')
|
||||
if '^petsc' in spec:
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
print('=====================================')
|
||||
print('========= Step-40 Trilinos ==========')
|
||||
print('=====================================')
|
||||
# change Linear Algebra to Trilinos
|
||||
# The below filter_file should be different for versions
|
||||
# before and after 8.4.0
|
||||
if spec.satisfies('@8.4.0:'):
|
||||
filter_file(r'(\/\/ #define FORCE_USE_OF_TRILINOS.*)',
|
||||
('#define FORCE_USE_OF_TRILINOS'),
|
||||
'step-40.cc')
|
||||
else:
|
||||
filter_file(r'(#define USE_PETSC_LA.*)',
|
||||
('// #define USE_PETSC_LA'), 'step-40.cc')
|
||||
if '^trilinos+hypre' in spec:
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
# the rest of the tests on step 40 only works for
|
||||
# dealii version 8.4.0 and after
|
||||
if spec.satisfies('@8.4.0:'):
|
||||
print('=====================================')
|
||||
print('=== Step-40 Trilinos SuperluDist ====')
|
||||
print('=====================================')
|
||||
# change to direct solvers
|
||||
filter_file(r'(LA::SolverCG solver\(solver_control\);)', ('TrilinosWrappers::SolverDirect::AdditionalData data(false,"Amesos_Superludist"); TrilinosWrappers::SolverDirect solver(solver_control,data);'), 'step-40.cc') # noqa
|
||||
filter_file(
|
||||
r'(LA::MPI::PreconditionAMG preconditioner;)',
|
||||
(''), 'step-40.cc')
|
||||
filter_file(
|
||||
r'(LA::MPI::PreconditionAMG::AdditionalData data;)',
|
||||
(''), 'step-40.cc')
|
||||
filter_file(
|
||||
r'(preconditioner.initialize\(system_matrix, data\);)',
|
||||
(''), 'step-40.cc')
|
||||
filter_file(
|
||||
r'(solver\.solve \(system_matrix, completely_distributed_solution, system_rhs,)', ('solver.solve (system_matrix, completely_distributed_solution, system_rhs);'), 'step-40.cc') # noqa
|
||||
filter_file(
|
||||
r'(preconditioner\);)', (''), 'step-40.cc')
|
||||
if '^trilinos+superlu-dist' in spec:
|
||||
make('release')
|
||||
make('run', paralle=False)
|
||||
|
||||
print('=====================================')
|
||||
print('====== Step-40 Trilinos MUMPS =======')
|
||||
print('=====================================')
|
||||
# switch to Mumps
|
||||
filter_file(r'(Amesos_Superludist)',
|
||||
('Amesos_Mumps'), 'step-40.cc')
|
||||
if '^trilinos+mumps' in spec:
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
print('=====================================')
|
||||
print('============ Step-36 ================')
|
||||
print('=====================================')
|
||||
with working_dir('examples/step-36'):
|
||||
if 'slepc' in spec:
|
||||
cmake('.')
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
print('=====================================')
|
||||
print('============ Step-54 ================')
|
||||
print('=====================================')
|
||||
with working_dir('examples/step-54'):
|
||||
if 'oce' in spec:
|
||||
cmake('.')
|
||||
make('release')
|
||||
make('run', parallel=False)
|
||||
|
||||
def setup_environment(self, spack_env, env):
|
||||
env.set('DEAL_II_DIR', self.prefix)
|
||||
|
46
var/spack/repos/builtin/packages/dmxproto/package.py
Normal file
46
var/spack/repos/builtin/packages/dmxproto/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Dmxproto(Package):
|
||||
"""Distributed Multihead X (DMX) Extension.
|
||||
|
||||
This extension defines a protocol for clients to access a front-end proxy
|
||||
X server that controls multiple back-end X servers making up a large
|
||||
display."""
|
||||
|
||||
homepage = "http://dmx.sourceforge.net/"
|
||||
url = "https://www.x.org/archive/individual/proto/dmxproto-2.3.1.tar.gz"
|
||||
|
||||
version('2.3.1', '7c52af95aac192e8de31bd9a588ce121')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
@@ -26,14 +26,21 @@
|
||||
|
||||
|
||||
class Dri2proto(Package):
|
||||
"""DRI2 Protocol Headers."""
|
||||
homepage = "http://http://cgit.freedesktop.org/xorg/proto/dri2proto/"
|
||||
url = "http://xorg.freedesktop.org/releases/individual/proto/dri2proto-2.8.tar.gz"
|
||||
"""Direct Rendering Infrastructure 2 Extension.
|
||||
|
||||
This extension defines a protocol to securely allow user applications to
|
||||
access the video hardware without requiring data to be passed through the
|
||||
X server."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/proto/dri2proto/"
|
||||
url = "https://www.x.org/releases/individual/proto/dri2proto-2.8.tar.gz"
|
||||
|
||||
version('2.8', '19ea18f63d8ae8053c9fa84b60365b77')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
make()
|
||||
make("install")
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
46
var/spack/repos/builtin/packages/dri3proto/package.py
Normal file
46
var/spack/repos/builtin/packages/dri3proto/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Dri3proto(Package):
|
||||
"""Direct Rendering Infrastructure 3 Extension.
|
||||
|
||||
This extension defines a protocol to securely allow user applications to
|
||||
access the video hardware without requiring data to be passed through the
|
||||
X server."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/proto/dri3proto/"
|
||||
url = "https://www.x.org/releases/individual/proto/dri3proto-1.0.tar.gz"
|
||||
|
||||
version('1.0', '25e84a49a076862277ee12aebd49ff5f')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
48
var/spack/repos/builtin/packages/editres/package.py
Normal file
48
var/spack/repos/builtin/packages/editres/package.py
Normal file
@@ -0,0 +1,48 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Editres(Package):
|
||||
"""Dynamic resource editor for X Toolkit applications."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/editres"
|
||||
url = "https://www.x.org/archive/individual/app/editres-1.0.6.tar.gz"
|
||||
|
||||
version('1.0.6', '310c504347ca499874593ac96e935353')
|
||||
|
||||
depends_on('libxaw')
|
||||
depends_on('libx11')
|
||||
depends_on('libxt')
|
||||
depends_on('libxmu')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
50
var/spack/repos/builtin/packages/encodings/package.py
Normal file
50
var/spack/repos/builtin/packages/encodings/package.py
Normal file
@@ -0,0 +1,50 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Encodings(Package):
|
||||
"""X.org encodings font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/encodings"
|
||||
url = "https://www.x.org/archive/individual/font/encodings-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '1a631784ce204d667abcc329b851670c')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
67
var/spack/repos/builtin/packages/etsf_io/package.py
Normal file
67
var/spack/repos/builtin/packages/etsf_io/package.py
Normal file
@@ -0,0 +1,67 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 EtsfIo(Package):
|
||||
"""ETSF_IO is a library implementing the Nanoquanta/ETSF file
|
||||
format specifications.
|
||||
|
||||
ETSF_IO enables an architecture-independent exchange of crystallographic
|
||||
data, electronic wavefunctions, densities and potentials, as well as
|
||||
spectroscopic data. It is meant to be used by quantum-physical and
|
||||
quantum-chemical applications relying upon Density Functional Theory (DFT).
|
||||
"""
|
||||
|
||||
homepage = "http://www.etsf.eu/resources/software/libraries_and_tools"
|
||||
url = "https://launchpad.net/etsf-io/1.0/1.0.4/+download/etsf_io-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '32d0f7143278bd925b334c69fa425da1')
|
||||
|
||||
depends_on("netcdf-fortran")
|
||||
depends_on("hdf5+mpi~cxx", when='+mpi') # required for NetCDF-4 support
|
||||
|
||||
def install(self, spec, prefix):
|
||||
options = ['--prefix=%s' % prefix]
|
||||
oapp = options.append
|
||||
|
||||
# Specify installation directory for Fortran module files
|
||||
# Default is [INCLUDEDIR/FC_TYPE]
|
||||
oapp("--with-moduledir=%s" % prefix.include)
|
||||
|
||||
# Netcdf4/HDF
|
||||
hdf_libs = "-L%s -lhdf5_hl -lhdf5" % spec["hdf5"].prefix.lib
|
||||
options.extend([
|
||||
"--with-netcdf-incs=-I%s" % spec["netcdf-fortran"].prefix.include,
|
||||
"--with-netcdf-libs=-L%s -lnetcdff -lnetcdf %s" % (
|
||||
spec["netcdf-fortran"].prefix.lib, hdf_libs),
|
||||
])
|
||||
|
||||
configure(*options)
|
||||
|
||||
make()
|
||||
make("check")
|
||||
make("install")
|
45
var/spack/repos/builtin/packages/evieext/package.py
Normal file
45
var/spack/repos/builtin/packages/evieext/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Evieext(Package):
|
||||
"""Extended Visual Information Extension (XEVIE).
|
||||
|
||||
This extension defines a protocol for a client to determine information
|
||||
about core X visuals beyond what the core protocol provides."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/evieproto"
|
||||
url = "https://www.x.org/archive/individual/proto/evieext-1.1.1.tar.gz"
|
||||
|
||||
version('1.1.1', '018a7d24d0c7926d594246320bcb6a86')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
@@ -0,0 +1,9 @@
|
||||
diff --git a/cmake-exodus b/cmake-exodus
|
||||
index 67ccd34..9b749e3 100755
|
||||
--- a/cmake-exodus
|
||||
+++ b/cmake-exodus
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/bin/bash
|
||||
EXTRA_ARGS=$@
|
||||
|
||||
### The following assumes you are building in a subdirectory of ACCESS Root
|
@@ -1,12 +0,0 @@
|
||||
diff --git a/cmake-exodus b/cmake-exodus
|
||||
index 787fd9d..ed073a2 100755
|
||||
--- a/cmake-exodus
|
||||
+++ b/cmake-exodus
|
||||
@@ -1,4 +1,6 @@
|
||||
-EXTRA_ARGS=$@
|
||||
+#!/bin/bash
|
||||
+
|
||||
+EXTRA_ARGS=-DSEACASProj_ENABLE_CXX11=OFF
|
||||
|
||||
### Change this to point to the compilers you want to use
|
||||
CC=gcc
|
@@ -27,10 +27,8 @@
|
||||
# TODO: Add support for a C++11 enabled installation that filters out the
|
||||
# TODO: "C++11-Disabled" flag (but only if the spec compiler supports C++11).
|
||||
|
||||
# TODO: Add support for parallel installation that uses MPI.
|
||||
|
||||
# TODO: Create installation options for NetCDF that support larger page size
|
||||
# TODO: suggested by Exodus (see the repository "README" file).
|
||||
# TODO: Use variant forwarding to forward the 'mpi' variant to the direct
|
||||
# TODO: dependencies 'hdf5' and 'netcdf'.
|
||||
|
||||
|
||||
class Exodusii(Package):
|
||||
@@ -46,34 +44,43 @@ class Exodusii(Package):
|
||||
homepage = "https://github.com/gsjaardema/seacas"
|
||||
url = "https://github.com/gsjaardema/seacas/archive/master.zip"
|
||||
|
||||
version('2016-02-08',
|
||||
git='https://github.com/gsjaardema/seacas.git', commit='dcf3529')
|
||||
version('2016-08-09', git='https://github.com/gsjaardema/seacas.git', commit='2ffeb1b')
|
||||
|
||||
depends_on('cmake@2.8.7:', type='build')
|
||||
depends_on('hdf5~shared~mpi')
|
||||
depends_on('netcdf~mpi')
|
||||
variant('mpi', default=True, description='Enables MPI parallelism.')
|
||||
|
||||
patch('exodus-cmake.patch')
|
||||
depends_on('cmake@2.8.11:', type='build')
|
||||
depends_on('mpi', when='+mpi')
|
||||
|
||||
def patch(self):
|
||||
ff = FileFilter('cmake-exodus')
|
||||
# https://github.com/gsjaardema/seacas/blob/master/NetCDF-Mapping.md
|
||||
depends_on('netcdf maxdims=65536 maxvars=524288')
|
||||
depends_on('hdf5+shared')
|
||||
|
||||
ff.filter('CMAKE_INSTALL_PREFIX:PATH=${ACCESS}',
|
||||
'CMAKE_INSTALL_PREFIX:PATH=%s' % self.spec.prefix,
|
||||
string=True)
|
||||
ff.filter('NetCDF_DIR:PATH=${TPL}',
|
||||
'NetCDF_DIR:PATH=%s' % self.spec['netcdf'].prefix,
|
||||
string=True)
|
||||
ff.filter('HDF5_ROOT:PATH=${TPL}',
|
||||
'HDF5_ROOT:PATH=%s' % self.spec['hdf5'].prefix,
|
||||
string=True)
|
||||
patch('cmake-exodus.patch')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdirp('build')
|
||||
cd('build')
|
||||
cc_path = spec['mpi'].mpicc if '+mpi' in spec else self.compiler.cc
|
||||
cxx_path = spec['mpi'].mpicxx if '+mpi' in spec else self.compiler.cxx
|
||||
|
||||
cmake_exodus = Executable('../cmake-exodus')
|
||||
cmake_exodus()
|
||||
config_args = std_cmake_args[:]
|
||||
config_args.extend([
|
||||
# General Flags #
|
||||
'-DSEACASProj_ENABLE_CXX11:BOOL=OFF',
|
||||
'-DSEACASProj_ENABLE_Zoltan:BOOL=OFF',
|
||||
'-DHDF5_ROOT:PATH={0}'.format(spec['hdf5'].prefix),
|
||||
'-DNetCDF_DIR:PATH={0}'.format(spec['netcdf'].prefix),
|
||||
|
||||
make()
|
||||
make('install')
|
||||
# MPI Flags #
|
||||
'-DTPL_ENABLE_MPI={0}'.format('ON' if '+mpi' in spec else 'OFF'),
|
||||
'-DCMAKE_C_COMPILER={0}'.format(cc_path),
|
||||
'-DCMAKE_CXX_COMPILER={0}'.format(cxx_path),
|
||||
])
|
||||
|
||||
build_directory = join_path(self.stage.source_path, 'spack-build')
|
||||
source_directory = self.stage.source_path
|
||||
|
||||
with working_dir(build_directory, create=True):
|
||||
mcmake = Executable(join_path(source_directory, 'cmake-exodus'))
|
||||
mcmake(*config_args)
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
@@ -32,8 +32,7 @@ class Fish(Package):
|
||||
|
||||
homepage = "http://fishshell.com/"
|
||||
url = "http://fishshell.com/files/2.2.0/fish-2.2.0.tar.gz"
|
||||
list_url = "http://fishshell.com/files/"
|
||||
list_depth = 2
|
||||
list_url = "http://fishshell.com/"
|
||||
|
||||
version('2.2.0', 'a76339fd14ce2ec229283c53e805faac48c3e99d9e3ede9d82c0554acfc7b77a')
|
||||
|
||||
|
46
var/spack/repos/builtin/packages/fixesproto/package.py
Normal file
46
var/spack/repos/builtin/packages/fixesproto/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fixesproto(Package):
|
||||
"""X Fixes Extension.
|
||||
|
||||
The extension makes changes to many areas of the protocol to resolve
|
||||
issues raised by application interaction with core protocol mechanisms
|
||||
that cannot be adequately worked around on the client side of the wire."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/fixesproto"
|
||||
url = "https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.gz"
|
||||
|
||||
version('5.0', '1b3115574cadd4cbea1f197faa7c1de4')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAdobe100dpi(Package):
|
||||
"""X.org adobe-100dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-100dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-adobe-100dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'ba61e7953f4f5cec5a8e69c262bbc7f9')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-adobe-75dpi/package.py
Normal file
53
var/spack/repos/builtin/packages/font-adobe-75dpi/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAdobe75dpi(Package):
|
||||
"""X.org adobe-75dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-75dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-adobe-75dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '7a414bb661949cec938938fd678cf649')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAdobeUtopia100dpi(Package):
|
||||
"""X.org adobe-utopia-100dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-utopia-100dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '128416eccd59b850f77a9b803681da3c')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAdobeUtopia75dpi(Package):
|
||||
"""X.org adobe-utopia-75dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-utopia-75dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-adobe-utopia-75dpi-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '74c73a5b73c6c3224b299f1fc033e508')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,51 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAdobeUtopiaType1(Package):
|
||||
"""X.org adobe-utopia-type1 font."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/font/adobe-utopia-type1"
|
||||
url = "https://www.x.org/archive/individual/font/font-adobe-utopia-type1-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', 'b0676c3495acabad519ee98a94163904')
|
||||
|
||||
depends_on('font-util', type='build')
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
49
var/spack/repos/builtin/packages/font-alias/package.py
Normal file
49
var/spack/repos/builtin/packages/font-alias/package.py
Normal file
@@ -0,0 +1,49 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontAlias(Package):
|
||||
"""X.org alias font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/alias"
|
||||
url = "https://www.x.org/archive/individual/font/font-alias-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '535138efe0a95f5fe521be6a6b9c4888')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-arabic-misc/package.py
Normal file
52
var/spack/repos/builtin/packages/font-arabic-misc/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontArabicMisc(Package):
|
||||
"""X.org arabic-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/arabic-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-arabic-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '918457df65ef93f09969c6ab01071789')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-bh-100dpi/package.py
Normal file
53
var/spack/repos/builtin/packages/font-bh-100dpi/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBh100dpi(Package):
|
||||
"""X.org bh-100dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-100dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-100dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '09e63a5608000531179e1ab068a35878')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-bh-75dpi/package.py
Normal file
53
var/spack/repos/builtin/packages/font-bh-75dpi/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBh75dpi(Package):
|
||||
"""X.org bh-75dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-75dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-75dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '88fec4ebc4a265684bff3abdd066f14f')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBhLucidatypewriter100dpi(Package):
|
||||
"""X.org bh-lucidatypewriter-100dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-lucidatypewriter-100dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '5f716f54e497fb4ec1bb3a5d650ac6f7')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBhLucidatypewriter75dpi(Package):
|
||||
"""X.org bh-lucidatypewriter-75dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-lucidatypewriter-75dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-lucidatypewriter-75dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'cab8a44ae329aab7141c7adeef0daf5a')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-bh-ttf/package.py
Normal file
52
var/spack/repos/builtin/packages/font-bh-ttf/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBhTtf(Package):
|
||||
"""X.org bh-ttf font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-ttf"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-ttf-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '4ce741ec4edaa11cd38988d355a7578b')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-bh-type1/package.py
Normal file
52
var/spack/repos/builtin/packages/font-bh-type1/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBhType1(Package):
|
||||
"""X.org bh-type1 font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bh-type1"
|
||||
url = "https://www.x.org/archive/individual/font/font-bh-type1-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '62d4e8f782a6a0658784072a5df5ac98')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBitstream100dpi(Package):
|
||||
"""X.org bitstream-100dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bitstream-100dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bitstream-100dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'c27bf37e9b8039f93bd90b8131ed37ad')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBitstream75dpi(Package):
|
||||
"""X.org bitstream-75dpi font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bitstream-75dpi"
|
||||
url = "https://www.x.org/archive/individual/font/font-bitstream-75dpi-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '4ff6c5d6aebe69371e27b09ad8313d25')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBitstreamSpeedo(Package):
|
||||
"""X.org bitstream-speedo font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bitstream-speedo"
|
||||
url = "https://www.x.org/archive/individual/font/font-bitstream-speedo-1.0.2.tar.gz"
|
||||
|
||||
version('1.0.2', 'f0a777b351cf5adefefcf4823e0c1c01')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontBitstreamType1(Package):
|
||||
"""X.org bitstream-type1 font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/bitstream-type1"
|
||||
url = "https://www.x.org/archive/individual/font/font-bitstream-type1-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'ff91738c4d3646d7999e00aa9923f2a0')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontCronyxCyrillic(Package):
|
||||
"""X.org cronyx-cyrillic font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/cronyx-cyrillic"
|
||||
url = "https://www.x.org/archive/individual/font/font-cronyx-cyrillic-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '3119ba1bc7f775c162c96e17a912fe30')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-cursor-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-cursor-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontCursorMisc(Package):
|
||||
"""X.org cursor-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/cursor-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-cursor-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'a0bf70c7e498f1cd8e3fdf6154f2bb00')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-daewoo-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-daewoo-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontDaewooMisc(Package):
|
||||
"""X.org daewoo-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/daewoo-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-daewoo-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '71a7e2796f045c9d217a19c4e6c25bc1')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-dec-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-dec-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontDecMisc(Package):
|
||||
"""X.org dec-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/dec-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-dec-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '5a9242f6b60ecf2b8c5b158322ca2a40')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-ibm-type1/package.py
Normal file
52
var/spack/repos/builtin/packages/font-ibm-type1/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontIbmType1(Package):
|
||||
"""X.org ibm-type1 font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/ibm-type1"
|
||||
url = "https://www.x.org/archive/individual/font/font-ibm-type1-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '2806116e4adcb89d3d5ff5faf65e57c1')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-isas-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-isas-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontIsasMisc(Package):
|
||||
"""X.org isas-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/isas-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-isas-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'ecc3b6fbe8f5721ddf5c7fc66f73e76f')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-jis-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-jis-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontJisMisc(Package):
|
||||
"""X.org jis-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/jis-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-jis-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'c48ee5749ae25075d2c7a6111c195e7b')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-micro-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-micro-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMicroMisc(Package):
|
||||
"""X.org micro-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/micro-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-micro-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '4de3f0ce500aef85f198c52ace5e66ac')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMiscCyrillic(Package):
|
||||
"""X.org misc-cyrillic font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/misc-cyrillic"
|
||||
url = "https://www.x.org/archive/individual/font/font-misc-cyrillic-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', 'e7b13da5325f62dd3f630beade6d2656')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMiscEthiopic(Package):
|
||||
"""X.org misc-ethiopic font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/misc-ethiopic"
|
||||
url = "https://www.x.org/archive/individual/font/font-misc-ethiopic-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '02ddea9338d9d36804ad38f3daadb55a')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-misc-meltho/package.py
Normal file
52
var/spack/repos/builtin/packages/font-misc-meltho/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMiscMeltho(Package):
|
||||
"""X.org misc-meltho font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/misc-meltho"
|
||||
url = "https://www.x.org/archive/individual/font/font-misc-meltho-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '8380696483478449c39b04612f20eea8')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-misc-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-misc-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMiscMisc(Package):
|
||||
"""X.org misc-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/misc-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-misc-misc-1.1.2.tar.gz"
|
||||
|
||||
version('1.1.2', '23a79b92275375315129b440206c85b9')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-mutt-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-mutt-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontMuttMisc(Package):
|
||||
"""X.org mutt-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/mutt-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-mutt-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '6c2de53ba514f720e02af48eef28ff32')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontSchumacherMisc(Package):
|
||||
"""X.org schumacher-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/schumacher-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-schumacher-misc-1.1.2.tar.gz"
|
||||
|
||||
version('1.1.2', '1f3386a0a690ba8117fc05b501f9f91b')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontScreenCyrillic(Package):
|
||||
"""X.org screen-cyrillic font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/screen-cyrillic"
|
||||
url = "https://www.x.org/archive/individual/font/font-screen-cyrillic-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '4cadaf2ba4c4d0f4cb9b4e7b8f0a3019')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
53
var/spack/repos/builtin/packages/font-sony-misc/package.py
Normal file
53
var/spack/repos/builtin/packages/font-sony-misc/package.py
Normal file
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontSonyMisc(Package):
|
||||
"""X.org sony-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/sony-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-sony-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '4026cb88e2253efc0b8376003780ccb6')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
52
var/spack/repos/builtin/packages/font-sun-misc/package.py
Normal file
52
var/spack/repos/builtin/packages/font-sun-misc/package.py
Normal file
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontSunMisc(Package):
|
||||
"""X.org sun-misc font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/sun-misc"
|
||||
url = "https://www.x.org/archive/individual/font/font-sun-misc-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '87ce97ce0582e76bc4064a4d4d10db09')
|
||||
|
||||
depends_on('font-util')
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
43
var/spack/repos/builtin/packages/font-util/package.py
Normal file
43
var/spack/repos/builtin/packages/font-util/package.py
Normal file
@@ -0,0 +1,43 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontUtil(Package):
|
||||
"""X.Org font package creation/installation utilities."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/util"
|
||||
url = "https://www.x.org/archive/individual/font/font-util-1.3.1.tar.gz"
|
||||
|
||||
version('1.3.1', 'd153a9af216e4498fa171faea2c82514')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -0,0 +1,53 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontWinitzkiCyrillic(Package):
|
||||
"""X.org winitzki-cyrillic font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/winitzki-cyrillic"
|
||||
url = "https://www.x.org/archive/individual/font/font-winitzki-cyrillic-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '777c667b080b33793528d5abf3247a48')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('bdftopcf', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
@@ -0,0 +1,52 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 FontXfree86Type1(Package):
|
||||
"""X.org xfree86-type1 font."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/font/xfree86-type1"
|
||||
url = "https://www.x.org/archive/individual/font/font-xfree86-type1-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '89c33c5176cd580de6636ad50ce7777b')
|
||||
|
||||
depends_on('font-util')
|
||||
|
||||
depends_on('fontconfig', type='build')
|
||||
depends_on('mkfontdir', type='build')
|
||||
depends_on('mkfontscale', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
||||
|
||||
# `make install` copies the files to the font-util installation.
|
||||
# Create a fake directory to convince Spack that we actually
|
||||
# installed something.
|
||||
mkdir(prefix.lib)
|
39
var/spack/repos/builtin/packages/fontcacheproto/package.py
Normal file
39
var/spack/repos/builtin/packages/fontcacheproto/package.py
Normal file
@@ -0,0 +1,39 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fontcacheproto(Package):
|
||||
"""X.org FontcacheProto protocol headers."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/fontcacheproto"
|
||||
url = "https://www.x.org/archive/individual/proto/fontcacheproto-0.1.3.tar.gz"
|
||||
|
||||
version('0.1.3', '5a91ab914ffbfbc856e6fcde52e6f3e3')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
42
var/spack/repos/builtin/packages/fontsproto/package.py
Normal file
42
var/spack/repos/builtin/packages/fontsproto/package.py
Normal file
@@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fontsproto(Package):
|
||||
"""X Fonts Extension."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/fontsproto"
|
||||
url = "https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.gz"
|
||||
|
||||
version('2.1.3', '0415f0360e33f3202af67c6c46782251')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
47
var/spack/repos/builtin/packages/fonttosfnt/package.py
Normal file
47
var/spack/repos/builtin/packages/fonttosfnt/package.py
Normal file
@@ -0,0 +1,47 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fonttosfnt(Package):
|
||||
"""Wrap a bitmap font in a sfnt (TrueType) wrapper."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/fonttosfnt"
|
||||
url = "https://www.x.org/archive/individual/app/fonttosfnt-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', 'ba77fd047a9cca400f17db8c46b06ce8')
|
||||
|
||||
depends_on('freetype')
|
||||
depends_on('libfontenc')
|
||||
|
||||
depends_on('xproto', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
46
var/spack/repos/builtin/packages/fslsfonts/package.py
Normal file
46
var/spack/repos/builtin/packages/fslsfonts/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fslsfonts(Package):
|
||||
"""fslsfonts produces a list of fonts served by an X font server."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/fslsfonts"
|
||||
url = "https://www.x.org/archive/individual/app/fslsfonts-1.0.5.tar.gz"
|
||||
|
||||
version('1.0.5', 'ef781bd6a7b529d3ed7a256055715730')
|
||||
|
||||
depends_on('libfs')
|
||||
|
||||
depends_on('xproto@7.0.25:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
50
var/spack/repos/builtin/packages/fstobdf/package.py
Normal file
50
var/spack/repos/builtin/packages/fstobdf/package.py
Normal file
@@ -0,0 +1,50 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Fstobdf(Package):
|
||||
"""The fstobdf program reads a font from a font server and prints a BDF
|
||||
file on the standard output that may be used to recreate the font.
|
||||
This is useful in testing servers, debugging font metrics, and
|
||||
reproducing lost BDF files."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/fstobdf"
|
||||
url = "https://www.x.org/archive/individual/app/fstobdf-1.0.6.tar.gz"
|
||||
|
||||
version('1.0.6', '6d3f24673fcb9ce266f49dc140bbf250')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libfs')
|
||||
|
||||
depends_on('xproto@7.0.25:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -66,7 +66,8 @@ def install(self, spec, prefix):
|
||||
|
||||
enabled_languages = set(('c', 'c++', 'fortran', 'java', 'objc'))
|
||||
|
||||
if spec.satisfies("@4.7.1:") and sys.platform != 'darwin':
|
||||
if spec.satisfies("@4.7.1:") and sys.platform != 'darwin' and \
|
||||
not (spec.satisfies('@:4.9.3') and 'ppc64le' in spec.architecture):
|
||||
enabled_languages.add('go')
|
||||
|
||||
# Fix a standard header file for OS X Yosemite that
|
||||
|
42
var/spack/repos/builtin/packages/gccmakedep/package.py
Normal file
42
var/spack/repos/builtin/packages/gccmakedep/package.py
Normal file
@@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Gccmakedep(Package):
|
||||
"""X.org gccmakedep utilities."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/util/gccmakedep/"
|
||||
url = "https://www.x.org/archive/individual/util/gccmakedep-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '127ddb6131eb4a56fdf6644a63ade788')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
51
var/spack/repos/builtin/packages/gconf/package.py
Normal file
51
var/spack/repos/builtin/packages/gconf/package.py
Normal file
@@ -0,0 +1,51 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Gconf(Package):
|
||||
"""GConf is a system for storing application preferences."""
|
||||
|
||||
homepage = "https://projects.gnome.org/gconf/"
|
||||
url = "ftp://ftp.gnome.org/pub/gnome/sources/GConf/3.2/GConf-3.2.6.tar.xz"
|
||||
|
||||
version('3.2.6', '2b16996d0e4b112856ee5c59130e822c')
|
||||
|
||||
depends_on('glib@2.14.0:')
|
||||
depends_on('libxml2')
|
||||
|
||||
# TODO: add missing dependencies
|
||||
# gio-2.0 >= 2.31.0
|
||||
# gthread-2.0
|
||||
# gmodule-2.0 >= 2.7.0
|
||||
# gobject-2.0 >= 2.7.0
|
||||
# dbus-1 >= 1.0.0
|
||||
# dbus-glib-1 >= 0.74
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
45
var/spack/repos/builtin/packages/glproto/package.py
Normal file
45
var/spack/repos/builtin/packages/glproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Glproto(Package):
|
||||
"""OpenGL Extension to the X Window System.
|
||||
|
||||
This extension defines a protocol for the client to send 3D rendering
|
||||
commands to the X server."""
|
||||
|
||||
homepage = "https://www.x.org/wiki/"
|
||||
url = "https://www.x.org/archive/individual/proto/glproto-1.4.17.tar.gz"
|
||||
|
||||
version('1.4.17', 'd69554c1b51a83f2c6976a640819911b')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
@@ -39,6 +39,8 @@ class Gperf(Package):
|
||||
version('3.0.4', 'c1f1db32fb6598d6a93e6e88796a8632')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make("install")
|
||||
# make('check') # fails tests
|
||||
make('install')
|
||||
|
45
var/spack/repos/builtin/packages/grandr/package.py
Normal file
45
var/spack/repos/builtin/packages/grandr/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Grandr(Package):
|
||||
"""RandR user interface using GTK+ libraries."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/app/grandr"
|
||||
url = "https://www.x.org/archive/individual/app/grandr-0.1.tar.gz"
|
||||
|
||||
version('0.1', '707109a105f2ab1bb216e6e6a5a10ba4')
|
||||
|
||||
depends_on('gtkplus@2.0.0:')
|
||||
depends_on('gconf')
|
||||
depends_on('xrandr@1.2:')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('check')
|
||||
make('install')
|
41
var/spack/repos/builtin/packages/hsakmt/package.py
Normal file
41
var/spack/repos/builtin/packages/hsakmt/package.py
Normal file
@@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Hsakmt(Package):
|
||||
"""hsakmt is a thunk library that provides a userspace interface to amdkfd
|
||||
(AMD's HSA Linux kernel driver). It is the HSA equivalent of libdrm."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/amd/hsakmt/"
|
||||
url = "https://www.x.org/archive/individual/lib/hsakmt-1.0.0.tar.gz"
|
||||
|
||||
version('1.0.0', '9beb20104e505300daf541266c4c3c3d')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -25,15 +25,17 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class XorgUtilMacros(Package):
|
||||
"""The m4 macros used by all of the Xorg packages."""
|
||||
class Htop(Package):
|
||||
"""htop is an interactive text-mode process viewer for Unix systems."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/util/macros/"
|
||||
url = "http://ftp.x.org/pub/individual/util/util-macros-1.19.0.tar.bz2"
|
||||
homepage = "https://github.com/hishamhm/htop"
|
||||
url = "https://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz"
|
||||
|
||||
version('1.19.0', '1cf984125e75f8204938d998a8b6c1e1')
|
||||
version('2.0.2', '7d354d904bad591a931ad57e99fea84a')
|
||||
|
||||
depends_on('ncurses')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
configure('--prefix=%s' % prefix)
|
||||
make()
|
||||
make("install")
|
||||
make('install')
|
@@ -35,6 +35,7 @@ class Hypre(Package):
|
||||
homepage = "http://computation.llnl.gov/project/linear_solvers/software.php"
|
||||
url = "http://computation.llnl.gov/project/linear_solvers/download/hypre-2.10.0b.tar.gz"
|
||||
|
||||
version('2.11.1', '3f02ef8fd679239a6723f60b7f796519')
|
||||
version('2.10.1', 'dc048c4cabb3cd549af72591474ad674')
|
||||
version('2.10.0b', '768be38793a35bb5d055905b271f5b8e')
|
||||
|
||||
|
48
var/spack/repos/builtin/packages/iceauth/package.py
Normal file
48
var/spack/repos/builtin/packages/iceauth/package.py
Normal file
@@ -0,0 +1,48 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Iceauth(Package):
|
||||
"""The iceauth program is used to edit and display the authorization
|
||||
information used in connecting with ICE. It operates very much
|
||||
like the xauth program for X11 connection authentication records."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/iceauth"
|
||||
url = "https://www.x.org/archive/individual/app/iceauth-1.0.7.tar.gz"
|
||||
|
||||
version('1.0.7', '183e834ec8bd096ac084ad4acbc29f51')
|
||||
|
||||
depends_on('libice')
|
||||
|
||||
depends_on('xproto@7.0.22:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
49
var/spack/repos/builtin/packages/ico/package.py
Normal file
49
var/spack/repos/builtin/packages/ico/package.py
Normal file
@@ -0,0 +1,49 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Ico(Package):
|
||||
"""ico is a simple animation program that may be used for testing various
|
||||
X11 operations and extensions. It displays a wire-frame rotating
|
||||
polyhedron, with hidden lines removed, or a solid-fill polyhedron with
|
||||
hidden faces removed."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/ico"
|
||||
url = "https://www.x.org/archive/individual/app/ico-1.0.4.tar.gz"
|
||||
|
||||
version('1.0.4', '8833b2da01a7f919b0db8e5a49184c0f')
|
||||
|
||||
depends_on('libx11@0.99.1:')
|
||||
|
||||
depends_on('xproto@7.0.22:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -42,7 +42,8 @@ def url_for_version(self, version):
|
||||
|
||||
def install(self, spec, prefix):
|
||||
with working_dir('source'):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
configure('--prefix={0}'.format(prefix),
|
||||
'--enable-rpath')
|
||||
|
||||
make()
|
||||
make('check')
|
||||
|
43
var/spack/repos/builtin/packages/imake/package.py
Normal file
43
var/spack/repos/builtin/packages/imake/package.py
Normal file
@@ -0,0 +1,43 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Imake(Package):
|
||||
"""The imake build system."""
|
||||
|
||||
homepage = "http://www.snake.net/software/imake-stuff/"
|
||||
url = "https://www.x.org/archive/individual/util/imake-1.0.7.tar.gz"
|
||||
|
||||
version('1.0.7', '186ca7b8ff0de8752f2a2d0426542363')
|
||||
|
||||
depends_on('xproto', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
45
var/spack/repos/builtin/packages/inputproto/package.py
Normal file
45
var/spack/repos/builtin/packages/inputproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Inputproto(Package):
|
||||
"""X Input Extension.
|
||||
|
||||
This extension defines a protocol to provide additional input devices
|
||||
management such as graphic tablets."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/proto/inputproto"
|
||||
url = "https://www.x.org/archive/individual/proto/inputproto-2.3.2.tar.gz"
|
||||
|
||||
version('2.3.2', '6450bad6f8d5ebe354b01b734d1fd7ca')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
67
var/spack/repos/builtin/packages/intel-gpu-tools/package.py
Normal file
67
var/spack/repos/builtin/packages/intel-gpu-tools/package.py
Normal file
@@ -0,0 +1,67 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 IntelGpuTools(Package):
|
||||
"""Intel GPU Tools is a collection of tools for development and testing of
|
||||
the Intel DRM driver. There are many macro-level test suites that get used
|
||||
against the driver, including xtest, rendercheck, piglit, and oglconform,
|
||||
but failures from those can be difficult to track down to kernel changes,
|
||||
and many require complicated build procedures or specific testing
|
||||
environments to get useful results. Therefore, Intel GPU Tools includes
|
||||
low-level tools and tests specifically for development and testing of the
|
||||
Intel DRM Driver."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/"
|
||||
url = "https://www.x.org/archive/individual/app/intel-gpu-tools-1.16.tar.gz"
|
||||
|
||||
version('1.16', '3996f10fc86a28ec59e1cf7b227dad78')
|
||||
|
||||
depends_on('libdrm@2.4.64:')
|
||||
depends_on('libpciaccess@0.10:')
|
||||
depends_on('cairo@1.12.0:')
|
||||
depends_on('glib')
|
||||
|
||||
depends_on('flex', type='build')
|
||||
depends_on('bison', type='build')
|
||||
depends_on('python@3:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
# xrandr ?
|
||||
|
||||
# gtk-doc-tools
|
||||
# libunwind-dev
|
||||
# python-docutils
|
||||
# x11proto-dri2-dev
|
||||
# xutils-dev
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('check')
|
||||
make('install')
|
@@ -26,10 +26,7 @@
|
||||
# Author: Justin Too <too1@llnl.gov>
|
||||
#
|
||||
import distutils.dir_util
|
||||
|
||||
import spack
|
||||
from spack import *
|
||||
import llnl.util.tty as tty
|
||||
|
||||
|
||||
class Jdk(Package):
|
||||
@@ -37,11 +34,6 @@ class Jdk(Package):
|
||||
in the form of a binary product aimed at Java developers."""
|
||||
homepage = "http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
||||
|
||||
version('8u66-linux-x64', '88f31f3d642c3287134297b8c10e61bf',
|
||||
url="http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz")
|
||||
version('8u92-linux-x64', '65a1cc17ea362453a6e0eb4f13be76e4',
|
||||
url="http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz")
|
||||
|
||||
# Oracle requires that you accept their License Agreement in order
|
||||
# to access the Java packages in download.oracle.com. In order to
|
||||
# automate this process, we need to utilize these additional curl
|
||||
@@ -53,18 +45,12 @@ class Jdk(Package):
|
||||
'-H', # specify required License Agreement cookie
|
||||
'Cookie: oraclelicense=accept-securebackup-cookie']
|
||||
|
||||
def do_fetch(self, mirror_only=False):
|
||||
# Add our custom curl commandline options
|
||||
tty.msg(
|
||||
"[Jdk] Adding required commandline options to curl " +
|
||||
"before performing fetch: %s" %
|
||||
(self.curl_options))
|
||||
|
||||
for option in self.curl_options:
|
||||
spack.curl.add_default_arg(option)
|
||||
|
||||
# Now perform the actual fetch
|
||||
super(Jdk, self).do_fetch(mirror_only)
|
||||
version('8u66-linux-x64', '88f31f3d642c3287134297b8c10e61bf',
|
||||
url="http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz",
|
||||
curl_options=curl_options)
|
||||
version('8u92-linux-x64', '65a1cc17ea362453a6e0eb4f13be76e4',
|
||||
url="http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz",
|
||||
curl_options=curl_options)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
distutils.dir_util.copy_tree(".", prefix)
|
||||
|
45
var/spack/repos/builtin/packages/kbproto/package.py
Normal file
45
var/spack/repos/builtin/packages/kbproto/package.py
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Kbproto(Package):
|
||||
"""X Keyboard Extension.
|
||||
|
||||
This extension defines a protcol to provide a number of new capabilities
|
||||
and controls for text keyboards."""
|
||||
|
||||
homepage = "https://cgit.freedesktop.org/xorg/proto/kbproto"
|
||||
url = "https://www.x.org/archive/individual/proto/kbproto-1.0.7.tar.gz"
|
||||
|
||||
version('1.0.7', '19acc5f02ae80381e216f443134e0bbb')
|
||||
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make('install')
|
58
var/spack/repos/builtin/packages/lbxproxy/package.py
Normal file
58
var/spack/repos/builtin/packages/lbxproxy/package.py
Normal file
@@ -0,0 +1,58 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Lbxproxy(Package):
|
||||
"""lbxproxy accepts client connections, multiplexes them over a single
|
||||
connection to the X server, and performs various optimizations on the
|
||||
X protocol to make it faster over low bandwidth and/or high latency
|
||||
connections.
|
||||
|
||||
Note that the X server source from X.Org no longer supports the LBX
|
||||
extension, so this program is only useful in connecting to older
|
||||
X servers."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/app/lbxproxy"
|
||||
url = "https://www.x.org/archive/individual/app/lbxproxy-1.0.3.tar.gz"
|
||||
|
||||
version('1.0.3', '50a2a1ae15e8edf7582f76bcdf6b8197')
|
||||
|
||||
depends_on('libxext')
|
||||
depends_on('liblbxutil')
|
||||
depends_on('libx11')
|
||||
depends_on('libice')
|
||||
|
||||
depends_on('xtrans', type='build')
|
||||
depends_on('xproxymanagementprotocol', type='build')
|
||||
depends_on('bigreqsproto', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
54
var/spack/repos/builtin/packages/libapplewm/package.py
Normal file
54
var/spack/repos/builtin/packages/libapplewm/package.py
Normal file
@@ -0,0 +1,54 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Libapplewm(Package):
|
||||
"""AppleWM is a simple library designed to interface with the Apple-WM
|
||||
extension. This extension allows X window managers to better interact with
|
||||
the Mac OS X Aqua user interface when running X11 in a rootless mode."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/lib/libAppleWM"
|
||||
url = "https://www.x.org/archive/individual/lib/libAppleWM-1.4.1.tar.gz"
|
||||
|
||||
version('1.4.1', '52c587641eb57f00978d28d98d487af8')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libxext')
|
||||
|
||||
depends_on('xextproto', type='build')
|
||||
depends_on('applewmproto@1.4:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
# Crashes with this error message on Linux:
|
||||
# HIServices/Processes.h: No such file or directory
|
||||
# May only build properly on macOS?
|
||||
|
||||
make()
|
||||
make('install')
|
49
var/spack/repos/builtin/packages/libdmx/package.py
Normal file
49
var/spack/repos/builtin/packages/libdmx/package.py
Normal file
@@ -0,0 +1,49 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Libdmx(Package):
|
||||
"""libdmx - X Window System DMX (Distributed Multihead X) extension
|
||||
library."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/lib/libdmx"
|
||||
url = "https://www.x.org/archive/individual/lib/libdmx-1.1.3.tar.gz"
|
||||
|
||||
version('1.1.3', 'eed755e7cdb161e05f70e955f2b0ef4d')
|
||||
|
||||
depends_on('libx11')
|
||||
depends_on('libxext')
|
||||
|
||||
depends_on('xextproto', type='build')
|
||||
depends_on('dmxproto@2.2.99.1:', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
@@ -30,16 +30,21 @@ class Libdrm(Package):
|
||||
rendering manager, on Linux, BSD and other operating
|
||||
systems that support the ioctl interface."""
|
||||
|
||||
homepage = "http://dri.freedesktop.org/libdrm/" # no real website...
|
||||
homepage = "http://dri.freedesktop.org/libdrm/"
|
||||
url = "http://dri.freedesktop.org/libdrm/libdrm-2.4.59.tar.gz"
|
||||
|
||||
version('2.4.70', 'a8c275bce5f3d71a5ca25e8fb60df084')
|
||||
version('2.4.59', '105ac7af1afcd742d402ca7b4eb168b6')
|
||||
version('2.4.33', '86e4e3debe7087d5404461e0032231c8')
|
||||
|
||||
depends_on('libpciaccess')
|
||||
depends_on('libpciaccess@0.10:')
|
||||
depends_on('libpthread-stubs')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
configure('--prefix={0}'.format(prefix),
|
||||
'--enable-static',
|
||||
'LIBS=-lrt') # This fixes a bug with `make check`
|
||||
|
||||
make()
|
||||
make("install")
|
||||
make('check')
|
||||
make('install')
|
||||
|
46
var/spack/repos/builtin/packages/libfontenc/package.py
Normal file
46
var/spack/repos/builtin/packages/libfontenc/package.py
Normal file
@@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Libfontenc(Package):
|
||||
"""libfontenc - font encoding library."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/lib/libfontenc"
|
||||
url = "https://www.x.org/archive/individual/lib/libfontenc-1.1.3.tar.gz"
|
||||
|
||||
version('1.1.3', '0ffa28542aa7d246299b1f7211cdb768')
|
||||
|
||||
depends_on('zlib')
|
||||
|
||||
depends_on('xproto', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
49
var/spack/repos/builtin/packages/libfs/package.py
Normal file
49
var/spack/repos/builtin/packages/libfs/package.py
Normal file
@@ -0,0 +1,49 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
|
||||
# LLNL-CODE-647188
|
||||
#
|
||||
# For details, see https://github.com/llnl/spack
|
||||
# Please also see the LICENSE file for our notice and the LGPL.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License (as
|
||||
# published by the Free Software Foundation) version 2.1, February 1999.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
|
||||
# conditions of the GNU Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License 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 Libfs(Package):
|
||||
"""libFS - X Font Service client library.
|
||||
|
||||
This library is used by clients of X Font Servers (xfs), such as
|
||||
xfsinfo, fslsfonts, and the X servers themselves."""
|
||||
|
||||
homepage = "http://cgit.freedesktop.org/xorg/lib/libFS"
|
||||
url = "https://www.x.org/archive/individual/lib/libFS-1.0.7.tar.gz"
|
||||
|
||||
version('1.0.7', 'd8c1246f5b3d0e7ccf2190d3bf2ecb73')
|
||||
|
||||
depends_on('xproto@7.0.17:', type='build')
|
||||
depends_on('fontsproto', type='build')
|
||||
depends_on('xtrans', type='build')
|
||||
depends_on('pkg-config@0.9.0:', type='build')
|
||||
depends_on('util-macros', type='build')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix={0}'.format(prefix))
|
||||
|
||||
make()
|
||||
make('install')
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user