libdc1394: add new package (#25079)
This commit is contained in:
parent
7339f2d476
commit
f68b91defe
26
var/spack/repos/builtin/packages/libdc1394/package.py
Normal file
26
var/spack/repos/builtin/packages/libdc1394/package.py
Normal 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
|
Loading…
Reference in New Issue
Block a user