wok-current view libpqxx/receipt @ rev 25720
Up gnumeric (1.12.57) and deps
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 18 11:05:31 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
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="https://github.com/jtv/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 }