summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libev/package.py
blob: 26eec70d3e824d0fa82268a0e1f8b4185d62f4c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Libev(AutotoolsPackage):
    """A full-featured and high-performance event loop that is loosely modelled
    after libevent, but without its limitations and bugs."""

    homepage = "http://software.schmorp.de/pkg/libev.html"
    url      = "http://dist.schmorp.de/libev/libev-4.24.tar.gz"
    git      = "https://github.com/enki/libev.git"
    list_url = "http://dist.schmorp.de/libev/Attic/"

    version('develop', branch='master')
    version('4.24', '94459a5a22db041dec6f98424d6efe54')

    depends_on('autoconf', type='build', when='@develop')
    depends_on('automake', type='build', when='@develop')
    depends_on('libtool',  type='build', when='@develop')
    depends_on('m4',       type='build', when='@develop')