wok view libpqxx/receipt @ rev 23945
Up slitaz-base-files (342)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 18:47:32 2020 +0000 (2020-09-18) |
parents | |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpqxx"
4 VERSION="6.1.0"
5 CATEGORY="misc"
6 SHORT_DESC="The official C++ client API for PostgreSQL"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pqxx.org/development/libpqxx/"
11 WGET_URL="https://github.com/jtv/libpqxx/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="gcc49 postgresql-dev"
14 DEPENDS="pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
20 --disable-documentation \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }