2011-01-04 03:23:28 +08:00
|
|
|
#
|
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-11-23 21:20:53 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
2011-01-04 03:23:28 +08:00
|
|
|
|
|
|
|
pkgname=libpqxx
|
2013-03-11 08:21:46 +08:00
|
|
|
pkgver=3.1.1
|
2011-01-04 03:23:28 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="C++ client API for PostgreSQL"
|
2012-11-23 21:20:53 +08:00
|
|
|
arch=('x86_64')
|
2011-01-04 03:23:28 +08:00
|
|
|
license=('custom')
|
|
|
|
url="http://pqxx.org/development/libpqxx/"
|
2012-11-23 21:20:53 +08:00
|
|
|
depends=('postgresql-libs')
|
2013-03-11 08:21:46 +08:00
|
|
|
makedepends=('python2')
|
2011-01-04 03:23:28 +08:00
|
|
|
options=('!libtool')
|
|
|
|
source=("http://pqxx.org/download/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
2013-03-11 08:21:46 +08:00
|
|
|
md5sums=('9f598226dae7dd5f866a50d2143bf189')
|
2011-01-04 03:23:28 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-09-27 05:29:32 +08:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-shared
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
2011-01-04 03:23:28 +08:00
|
|
|
make prefix="${pkgdir}/usr" install
|
|
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
}
|