wok annotate 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 |
rev | line source |
---|---|
pascal@20216 | 1 # SliTaz package receipt. |
pascal@20216 | 2 |
pascal@20216 | 3 PACKAGE="libpqxx" |
pascal@20216 | 4 VERSION="6.1.0" |
pascal@20216 | 5 CATEGORY="misc" |
pascal@20216 | 6 SHORT_DESC="The official C++ client API for PostgreSQL" |
pascal@20216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20216 | 8 LICENSE="BSD" |
pascal@20216 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25476 | 10 WEB_SITE="https://github.com/jtv/libpqxx/" |
pascal@20216 | 11 WGET_URL="https://github.com/jtv/libpqxx/archive/$VERSION.tar.gz" |
pascal@20216 | 12 |
pascal@20216 | 13 BUILD_DEPENDS="gcc49 postgresql-dev" |
pascal@20216 | 14 DEPENDS="pkg-config" |
pascal@20216 | 15 |
pascal@25600 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@20216 | 23 # Rules to configure and make the package. |
pascal@20216 | 24 compile_rules() |
pascal@20216 | 25 { |
pascal@20216 | 26 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \ |
pascal@20216 | 27 --disable-documentation \ |
pascal@20216 | 28 $CONFIGURE_ARGS && |
pascal@20216 | 29 make && |
pascal@20216 | 30 make DESTDIR=$DESTDIR install |
pascal@20216 | 31 } |
pascal@20216 | 32 |
pascal@20216 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20216 | 34 genpkg_rules() |
pascal@20216 | 35 { |
pascal@20216 | 36 cp -a $install/usr $fs |
pascal@20216 | 37 } |