wok view libpqxx/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 362a5a98467f |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
27 --disable-documentation \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }