-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
30 lines (28 loc) · 877 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Template file for 'libpqxx'
pkgname=libpqxx
version=6.4.3
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-documentation"
hostmakedepends="postgresql-libs-devel python3"
makedepends="postgresql-libs-devel"
short_desc="C++ connector for PostgreSQL"
maintainer="Orphaned <orphan@voidlinux.org>"
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=0c70d6986a93f07876f173cfc606f9ced2711bcfbd53e59842e682d48a281138
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
}
}