summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-21 05:07:18 +0800
committerGitHub <noreply@github.com>2020-04-20 16:07:18 -0500
commit126491288a532da08fb3923eae2635a84736798d (patch)
tree50697cb2477220778e122cd48b1c541a8d16d606 /var
parentcab1d06d6a3907084aad14c8b66b03741453284c (diff)
downloadspack-126491288a532da08fb3923eae2635a84736798d.tar.gz
spack-126491288a532da08fb3923eae2635a84736798d.tar.bz2
spack-126491288a532da08fb3923eae2635a84736798d.tar.xz
spack-126491288a532da08fb3923eae2635a84736798d.zip
Add new package: libsamplerate (#16143)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libsamplerate/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libsamplerate/package.py b/var/spack/repos/builtin/packages/libsamplerate/package.py
new file mode 100644
index 0000000000..fcab8be9d3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libsamplerate/package.py
@@ -0,0 +1,22 @@
+# 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 Libsamplerate(AutotoolsPackage):
+ """libsamplerate (also known as Secret Rabbit Code) is a library for
+ performing sample rate conversion of audio data."""
+
+ homepage = "http://www.mega-nerd.com/libsamplerate/history.html"
+ url = "http://www.mega-nerd.com/libsamplerate/libsamplerate-0.1.9.tar.gz"
+
+ version('0.1.9', sha256='0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1')
+ version('0.1.8', sha256='93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')