wok annotate osm2pgrouting/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 4a1336eda4f9
children 3fe0ed7c1aac
rev   line source
pascal@20216 1 # SliTaz package receipt.
pascal@20216 2
pascal@20216 3 PACKAGE="osm2pgrouting"
Hans-G?nter@21647 4 VERSION="2.3.6"
pascal@20216 5 CATEGORY="misc"
Hans-G?nter@21647 6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database."
pascal@20216 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20216 8 LICENSE="GPL2"
Hans-G?nter@21647 9 WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
Hans-G?nter@21647 10
pascal@20216 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20216 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@20216 13
Hans-G?nter@21647 14 DEPENDS="expat gcc49-lib-base libboost-program-options libpostgresqlclient"
Hans-G?nter@21647 15 BUILD_DEPENDS="cmake expat-dev gcc49 libpqxx libboost-program-options-dev \
Hans-G?nter@21647 16 pgrouting postgis postgresql-dev"
pascal@20216 17
pascal@20216 18 # Rules to configure and make the package.
pascal@20216 19 compile_rules()
pascal@20216 20 {
Hans-G?nter@21647 21 export CXX=g++-49
Hans-G?nter@21647 22
pascal@20216 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
pascal@20216 24 cd build/
pascal@20216 25 make &&
pascal@20216 26 make DESTDIR=$DESTDIR install
pascal@20216 27 }
pascal@20216 28
pascal@20216 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20216 30 genpkg_rules()
pascal@20216 31 {
pascal@20216 32 cp -a $install/usr $fs
pascal@20216 33 }