Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:26

0001 # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
0002 # Spack Project Developers. See the top-level COPYRIGHT file for details.
0003 #
0004 # SPDX-License-Identifier: (Apache-2.0 OR MIT)
0005 
0006 from spack.package import *
0007 
0008 
0009 class Libodbcpp(AutotoolsPackage):
0010     """libodbc++ is a C++ class library for accessing SQL databases."""
0011 
0012     homepage = "https://sourceforge.net/projects/libodbcxx"
0013     url = "https://sourceforge.net/projects/libodbcxx/files/libodbc%2B%2B/0.2.5/libodbc%2B%2B-0.2.5.tar.bz2/download"
0014     list_url = "https://sourceforge.net/projects/libodbcxx/files"
0015 
0016     tags = ["eic"]
0017 
0018     version(
0019         "0.2.5",
0020         sha256="ba3030a27b34e4aafbececa2ddbbf42a38815e9534f34c051620540531b5e23e",
0021     )
0022 
0023     depends_on("cxx", type="build")
0024 
0025     def patch(self):
0026         filter_file("ODBCXX_STRING_PERCENT", '"%"', "src/dtconv.h")
0027 
0028     def configure_args(self):
0029         args = []
0030         return args