wok-6.x annotate libpqxx/receipt @ rev 23243
created recipe for nim, successor of nimrod
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:14:20 2020 +0100 (2020-03-25) |
parents | |
children | 5ea0ce1cecc0 |
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@20216 | 10 WEB_SITE="http://pqxx.org/development/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@20216 | 16 # Rules to configure and make the package. |
pascal@20216 | 17 compile_rules() |
pascal@20216 | 18 { |
pascal@20216 | 19 ./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \ |
pascal@20216 | 20 --disable-documentation \ |
pascal@20216 | 21 $CONFIGURE_ARGS && |
pascal@20216 | 22 make && |
pascal@20216 | 23 make DESTDIR=$DESTDIR install |
pascal@20216 | 24 } |
pascal@20216 | 25 |
pascal@20216 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20216 | 27 genpkg_rules() |
pascal@20216 | 28 { |
pascal@20216 | 29 cp -a $install/usr $fs |
pascal@20216 | 30 } |