e57f6b6a9d
Closes: #12749 [via git-merge-pr]
30 lines
831 B
Bash
30 lines
831 B
Bash
# Template file for 'libpqxx'
|
|
pkgname=libpqxx
|
|
version=6.1.1
|
|
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"
|
|
distfiles="https://github.com/jtv/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=7b4f37dab4b17b71ef415ffa37f5102ef6bc12647e42f0abaaf6febeeefb8b1e
|
|
|
|
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
|
|
}
|
|
}
|