summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorNicolas Richart <nicolas.richart@epfl.ch>2016-06-01 03:28:42 +0200
committerNicolas Richart <nicolas.richart@epfl.ch>2016-06-01 03:28:42 +0200
commit5d4a0e4050ad0fa02ffd482a61374bde946c62b7 (patch)
tree8f3d5a28812ffbc35090ed71dbeb0354cd233102 /var
parent0df0677d5bb4c5d5dce6bb9371c356af4b299170 (diff)
downloadspack-5d4a0e4050ad0fa02ffd482a61374bde946c62b7.tar.gz
spack-5d4a0e4050ad0fa02ffd482a61374bde946c62b7.tar.bz2
spack-5d4a0e4050ad0fa02ffd482a61374bde946c62b7.tar.xz
spack-5d4a0e4050ad0fa02ffd482a61374bde946c62b7.zip
Corrections for flake8
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/emacs/package.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/emacs/package.py b/var/spack/repos/builtin/packages/emacs/package.py
index b1177d6339..b6d638e3c3 100644
--- a/var/spack/repos/builtin/packages/emacs/package.py
+++ b/var/spack/repos/builtin/packages/emacs/package.py
@@ -24,22 +24,25 @@
##############################################################################
from spack import *
+
class Emacs(Package):
"""The Emacs programmable text editor."""
+
homepage = "https://www.gnu.org/software/emacs"
url = "http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz"
version('24.5', 'd74b597503a68105e61b5b9f6d065b44')
variant('use-system-deps', default=True, description='Uses the library on the system to compile')
-
+
depends_on('ncurses')
# Emacs also depends on:
# GTK or other widget library
# libtiff, png, etc.
# For now, we assume the system provides all that stuff.
# For Ubuntu 14.04 LTS:
- # sudo apt-get install libgtk-3-dev libxpm-dev libtiff5-dev libjpeg8-dev libgif-dev libpng12-dev
+ # sudo apt-get install libgtk-3-dev libxpm-dev
+ # libtiff5-dev libjpeg8-dev libgif-dev libpng12-dev
depends_on('libtiff', when='~use-system-deps')
depends_on('libpng', when='~use-system-deps')
@@ -48,10 +51,10 @@ class Emacs(Package):
args = [
'--with-xpm=no',
'--with-gif=no',
- ]
+ ]
else:
args = []
-
+
configure('--prefix=%s' % prefix, *args)
make()
make("install")