29 lines
990 B
Bash
29 lines
990 B
Bash
# Template file for 'soci'
|
|
pkgname=soci
|
|
version=4.0.3
|
|
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=615e5f7e4b52007f3a3b4050a99aadf6346b56b5098eb08b3a650836083c6a33
|
|
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 boost-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|