void-packages/srcpkgs/libpqxx/template

31 lines
822 B
Bash

# Template file for 'libpqxx'
pkgname=libpqxx
version=6.0.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-documentation"
hostmakedepends="python postgresql-libs-devel"
makedepends="postgresql-libs-devel"
short_desc="C++ connector for PostgreSQL"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD"
homepage="http://pqxx.org/development/libpqxx"
distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz"
checksum=81cac92458efd799fadb0374107464320d93eba71de05aedf21afb9c8dda7c3a
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
}
}