# Template file for 'libpqxx' pkgname=libpqxx version=6.2.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 " license="BSD-3-Clause" homepage="http://pqxx.org/development/libpqxx" distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz" checksum=610985bd0eba744ec3b425e24d8a003221df6c8d8bf4aac9f7da0390a3a97b6b 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 } }