summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-jpeg/package.py
blob: 53b986d6d64d984161c6cc5c7475e67372e82323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2019 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 RJpeg(RPackage):
    """This package provides an easy and simple way to read, write and display
    bitmap images stored in the JPEG format. It can read and write both files
    and in-memory raw vectors."""

    homepage = "http://www.rforge.net/jpeg/"
    url      = "https://cloud.r-project.org/src/contrib/jpeg_0.1-8.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/jpeg"

    version('0.1-8', '696007451d14395b1ed1d0e9af667a57')

    depends_on('r@2.9.0:', type=('build', 'run'))
    depends_on('jpeg')