Add new package: rrdtool (#18919)

This commit is contained in:
darmac 2020-09-25 00:46:45 +08:00 committed by GitHub
parent 928e46088c
commit 9288091963
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,26 @@
# Copyright 2013-2020 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 Rrdtool(AutotoolsPackage):
"""RA tool for data logging and analysis."""
homepage = "http://oss.oetiker.ch/rrdtool"
url = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.0.tar.gz"
version('1.7.2', sha256='a199faeb7eff7cafc46fac253e682d833d08932f3db93a550a4a5af180ca58db')
version('1.7.1', sha256='989b778eda6967aa5192c73abafe43e7b10e6100776971a7e79d249942781aae')
version('1.7.0', sha256='f97d348935b91780f2cd80399719e20c0b91f0a23537c0a85f9ff306d4c5526b')
depends_on('libxml2')
depends_on('pango')
depends_on('lua@5.3.0:5.3.5')
depends_on('perl-extutils-makemaker')
def configure_args(self):
args = ['LDFLAGS=-lintl']
return args