summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-08-27 09:49:34 +0800
committerGitHub <noreply@github.com>2020-08-26 20:49:34 -0500
commit080625c3af3c9c1edb9892c93e40207680215015 (patch)
tree5aaed859b5cfd07957f222f3a442ad3c1d26065f
parent24f2850cab759cb735ea2282da043cacfd53dfe3 (diff)
downloadspack-080625c3af3c9c1edb9892c93e40207680215015.tar.gz
spack-080625c3af3c9c1edb9892c93e40207680215015.tar.bz2
spack-080625c3af3c9c1edb9892c93e40207680215015.tar.xz
spack-080625c3af3c9c1edb9892c93e40207680215015.zip
Jpegoptim (#18279)
* Add new package: jpegoptim * refine homepage
-rw-r--r--var/spack/repos/builtin/packages/jpegoptim/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/jpegoptim/package.py b/var/spack/repos/builtin/packages/jpegoptim/package.py
new file mode 100644
index 0000000000..2e323cf02b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/jpegoptim/package.py
@@ -0,0 +1,19 @@
+# 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 Jpegoptim(AutotoolsPackage):
+ """jpegoptim - utility to optimize/compress JPEG files"""
+
+ homepage = "https://www.iki.fi/tjko/projects.html"
+ url = "https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.6.tar.gz"
+
+ version('1.4.6', sha256='c44dcfac0a113c3bec13d0fc60faf57a0f9a31f88473ccad33ecdf210b4c0c52')
+ version('1.4.5', sha256='53207f479f96c4f792b3187f31abf3534d69c88fe23720d0c23f5310c5d2b2f5')
+ version('1.4.4', sha256='bc6b018ae8c3eb12d07596693d54243e214780a2a2303a6578747d3671f45da3')
+
+ depends_on('libjpeg')