void-packages/srcpkgs/libpqxx/template
maxice8 b747164b3d
libpqxx: update to 6.2.3.
Closes #14150.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-22 07:52:10 +02:00

31 lines
904 B
Bash

# Template file for 'libpqxx'
pkgname=libpqxx
version=6.2.3
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-documentation"
hostmakedepends="postgresql-libs-devel python"
makedepends="postgresql-libs-devel"
short_desc="C++ connector for PostgreSQL"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD-3-Clause"
#changelog="https://raw.githubusercontent.com/jtv/libpqxx/master/NEWS"
homepage="http://pqxx.org/development/libpqxx"
distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz"
checksum=382b88992c6162c9814388cc8575eb774ffad03d49743a5d9576aa3bffc91dfa
post_install() {
vlicense COPYING
}
libpqxx-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin/pqxx-config
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/libpqxx.so
vmove usr/lib/pkgconfig
}
}