databases/nanodbc 3.0.2 FreeBSD
Small C++ wrapper for the native C ODBC API
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
157590dfd5- License
- MIT
- Categories
- databases, devel
- Package size
- 144.0 KiB, 729.6 KiB installed
Description
nanodbc is a small C++ library that simplifies ODBC API programming.
nanodbc is a small C++ wrapper for the native C ODBC API. It aims to make common database tasks easy with concise code, incorporating modern C++ standards.
Features: * Portable and robust * Transaction support * Bound parameters * Clean separation of interface and implementation using the pimpl idiom
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/nanodbc | 3.0.2 |
| DragonFly | databases/nanodbc | 2.14.0 |
Install
Binary package:
pkg install nanodbc
From the ports tree:
cd /usr/ports/databases/nanodbc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= nanodbc>0:databases/nanodbc
LIB_DEPENDS= libnanodbc.so:databases/nanodbc
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.0.2 | 3.0.2 | - | 2.14.0 | 3.0.2 |
| FreeBSD:14:quarterly | 3.0.2 | 3.0.2 | n/a | 2.14.0 | 3.0.2 |
| FreeBSD:15:latest | 3.0.2 | 3.0.2 | n/a | - | - |
| FreeBSD:15:quarterly | 3.0.2 | 3.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.0.2 | 3.0.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libodbc.so: databases/unixODBC
Test 1
${LOCALBASE}/lib/libsqlite3odbc.so: databases/sqliteodbc
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake:testing compiler:c++17-lang localbase:ldflags
- Service scripts
- none
Files
pkg-plist 5
- include/nanodbc/nanodbc.h
- lib/cmake/nanodbc/nanodbc-config-.cmake
- lib/cmake/nanodbc/nanodbc-config.cmake
- lib/libnanodbc.so
- lib/libnanodbc.so.3.0.2
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| nanodbc-nanodbc-v3.0.2_GH0.tar.gz | 448967 | 2a0ff611c625083c97f7327f67f230f58966ecf841e9139e740b7f303b0aa00b |