wok view libpqxx/receipt @ rev 25786
Clean ffado-tools wrong deps
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Sep 24 21:47:22 2024 +0200 (7 weeks 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 }