mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 04:07:14 +08:00
32 lines
776 B
Bash
32 lines
776 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=libpqxx
|
|
pkgver=4.0
|
|
pkgrel=1
|
|
pkgdesc="C++ client API for PostgreSQL"
|
|
arch=('x86_64')
|
|
license=('custom')
|
|
url="http://pqxx.org/development/libpqxx/"
|
|
depends=('postgresql-libs')
|
|
options=('!libtool')
|
|
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
sha256sums=('b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make prefix="${pkgdir}/usr" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|