blob: 171c25961e5d5110db562a11d25d7eaf6aa1360e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 2013-2024 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.package import *
class Unixodbc(AutotoolsPackage):
"""ODBC is an open specification for providing application developers with
a predictable API with which to access Data Sources. Data Sources include
SQL Servers and any Data Source with an ODBC Driver."""
homepage = "http://www.unixodbc.org/"
url = "http://www.unixodbc.org/unixODBC-2.3.4.tar.gz"
license("LGPL-2.0-or-later")
version("2.3.4", sha256="2e1509a96bb18d248bf08ead0d74804957304ff7c6f8b2e5965309c632421e39")
depends_on("iconv")
depends_on("libtool")
@property
def libs(self):
return find_libraries("libodbc", root=self.prefix, recursive=True)
|