wok view merkaartor/receipt @ rev 22152
linld: hack for VCPI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 06 21:02:18 2019 +0100 (2019-11-06) |
parents | 3213a11c4cb4 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="merkaartor"
4 VERSION="0.18.3"
5 CATEGORY="misc"
6 TAGS="openstreetmap"
7 SHORT_DESC="An openstreetmap mapping program."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="http://merkaartor.be/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/openstreetmap/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="gdal proj libQtWebkit libQtSvg libQtXml libpostgresqlclient"
16 BUILD_DEPENDS="wget Qt4-dev qmake gdal-dev proj-dev libQtWebkit"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CXXFLAGS="$CXXFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
22 qmake PREFIX="/usr/" &&
23 make $MAKEFLAGS -j 1 &&
24 make INSTALL_ROOT=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }