mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
26 lines
784 B
Bash
26 lines
784 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=libpqxx
|
|
pkgver=3.1
|
|
pkgrel=1
|
|
pkgdesc="C++ client API for PostgreSQL"
|
|
arch=('i686' 'x86_64')
|
|
license=('custom')
|
|
url="http://pqxx.org/development/libpqxx/"
|
|
depends=('postgresql-libs>=8.4.1')
|
|
options=('!libtool')
|
|
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('4993a516eb88d8a51125607db30ad2ef')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --enable-shared
|
|
make || return 1
|
|
make prefix="${pkgdir}/usr" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|