void-packages/srcpkgs/libpqxx/template

31 lines
806 B
Bash

# Template file for 'libpqxx'
pkgname=libpqxx
version=4.0.1
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
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="http://pqxx.org/download/software/libpqxx/libpqxx-${version}.tar.gz"
checksum=097ceda2797761ce517faa5bee186c883df1c407cb2aada613a16773afeedc38
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
}
}