wok-current view merkaartor/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents 5ea0ce1cecc0
children acebe5bceb4f
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
21 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CXXFLAGS="$CXXFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
28 qmake PREFIX="/usr/" &&
29 make $MAKEFLAGS -j 1 &&
30 make INSTALL_ROOT=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }