summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxpm
diff options
context:
space:
mode:
authorNicolas Richart <nicolas.richart@epfl.ch>2016-06-03 00:21:41 +0200
committerNicolas Richart <nicolas.richart@epfl.ch>2016-06-03 00:24:00 +0200
commit8b6035ab8268de726933b657837d5c1bd8d13d4e (patch)
tree292cdd776441362eaa1aa0be8a1721e986d2168e /var/spack/repos/builtin/packages/libxpm
parent5d4a0e4050ad0fa02ffd482a61374bde946c62b7 (diff)
downloadspack-8b6035ab8268de726933b657837d5c1bd8d13d4e.tar.gz
spack-8b6035ab8268de726933b657837d5c1bd8d13d4e.tar.bz2
spack-8b6035ab8268de726933b657837d5c1bd8d13d4e.tar.xz
spack-8b6035ab8268de726933b657837d5c1bd8d13d4e.zip
Making emacs dependent on internal packages
Diffstat (limited to 'var/spack/repos/builtin/packages/libxpm')
-rw-r--r--var/spack/repos/builtin/packages/libxpm/package.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxpm/package.py b/var/spack/repos/builtin/packages/libxpm/package.py
new file mode 100644
index 0000000000..10ca8158c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libxpm/package.py
@@ -0,0 +1,44 @@
+##############################################################################
+# 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 Libxpm(Package):
+ """Xpm file format library"""
+
+ homepage = "https://www.x.org/"
+ url = "https://www.x.org/archive//individual/lib/libXpm-3.5.11.tar.gz"
+
+ version('3.5.11', '7c67c878ee048206b070bc0b24154f04')
+ version('3.5.10', 'a70507638d74541bf30a771f1e5938bb')
+ version('3.5.9', 'd6d4b0f76248a6b346eb42dfcdaa72a6')
+ version('3.5.8', '2d81d6633e67ac5562e2fbee126b2897')
+ version('3.5.7', '7bbc8f112f7143ed6961a58ce4e14558')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+
+ make()
+ make("install")