libdc1394: add new package (#25079)

This commit is contained in:
Silvio Traversaro 2021-07-26 09:54:19 +02:00 committed by GitHub
parent 7339f2d476
commit f68b91defe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# Copyright 2013-2021 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 Libdc1394(AutotoolsPackage):
"""Library providing an API for IEEE 1394 cameras."""
homepage = "https://damien.douxchamps.net/ieee1394/libdc1394/"
url = "https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.6/libdc1394-2.2.6.tar.gz"
maintainers = ['traversaro']
version('2.2.6', sha256='2b905fc9aa4eec6bdcf6a2ae5f5ba021232739f5be047dec8fe8dd6049c10fed')
depends_on('libusb')
def configure_args(self):
args = []
args.append('--disable-dependency-tracking')
args.append('--disable-examples')
args.append('--disable-sdltest')
return args