void-packages/srcpkgs/libpqxx/template
2019-03-23 07:55:35 -03:00

30 lines
875 B
Bash

# Template file for 'libpqxx'
pkgname=libpqxx
version=6.4.2
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"
homepage="http://pqxx.org/development/libpqxx"
changelog="https://raw.githubusercontent.com/jtv/libpqxx/master/NEWS"
distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz"
checksum=f3afb60b8f6d69a8077f7e7f30fc7175ce7d437551d386dba4f7e0f1e7b673ea
post_install() {
vlicense COPYING
}
libpqxx-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/libpqxx.so
vmove usr/lib/pkgconfig
}
}