New package: soci-4.0.1
This commit is contained in:
parent
66de009e4e
commit
861582c3e9
|
@ -0,0 +1 @@
|
||||||
|
soci
|
|
@ -0,0 +1,27 @@
|
||||||
|
# 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue