New, cleaner package repository structure.

Package repositories now look like this:

    top-level-dir/
        repo.yaml
        packages/
            libelf/
                package.py
            mpich/
                package.py
            ...

This leaves room at the top level for additional metadata, source,
per-repo configs, indexes, etc., and it makes it easy to see that
something is a spack repo (just look for repo.yaml and packages).
This commit is contained in:
Todd Gamblin
2015-11-26 14:19:27 -08:00
parent 04f032d6e3
commit 89d5127900
285 changed files with 137 additions and 64 deletions

View File

@@ -0,0 +1,21 @@
from spack import *
class Wget(Package):
"""GNU Wget is a free software package for retrieving files using
HTTP, HTTPS and FTP, the most widely-used Internet protocols. It
is a non-interactive commandline tool, so it may easily be called
from scripts, cron jobs, terminals without X-Windows support,
etc."""
homepage = "http://www.gnu.org/software/wget/"
url = "http://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz"
version('1.16', 'fe102975ab3a6c049777883f1bb9ad07')
depends_on("openssl")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
"--with-ssl=openssl")
make()
make("install")