wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="osm2pgrouting"
4 VERSION="2.3.6"
5 CATEGORY="misc"
6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="expat gcc49-lib-base libboost-program-options libpostgresqlclient"
15 BUILD_DEPENDS="cmake expat-dev gcc49 libpqxx libboost-program-options-dev \
16 pgrouting postgis postgresql-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CXX=g++-49
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
24 cd build/
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }