wok-6.x view libpqxx/receipt @ rev 25392

updated usbids (2022.03.22 -> 2022.08.01)
author Hans-G?nter Theisgen
date Mon Aug 01 15:27:35 2022 +0100 (2022-08-01)
parents 4a1336eda4f9
children 362a5a98467f
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 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
26 --disable-documentation \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }