void-packages/srcpkgs/soci/template
2021-06-19 18:36:13 +02:00

27 lines
956 B
Bash

# Template file for 'soci'
pkgname=soci
version=4.0.1
revision=1
build_style=cmake
configure_args="-DCMAKE_CXX_STANDARD=11"
makedepends="boost-devel libmariadbclient-devel postgresql-libs-devel
sqlite-devel unixodbc-devel"
checkdepends="postgresql python3-mysqlclient mariadb"
short_desc="Database access library for C++"
maintainer="John <me@johnnynator.dev>"
license="BSL-1.0"
homepage="http://soci.sourceforge.net/"
distfiles="http://downloads.sourceforge.net/project/soci/soci/${pkgname}-${version}/${pkgname}-${version}.tar.gz"
checksum=bcabd4d7d33bb02e5a88d00121bf556957fa18dc6b04a5532c107a4def7e27d3
make_check=no #Would require to setup and run at least mariadb and postgresql
soci-devel_package() {
depends="${sourcepkg}>=${version}_${revision} postgresql-libs-devel libmariadbclient-devel
sqlite-devel unixodbc-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}