wok view merkaartor/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | bf28cc07ebf1 |
children |
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="cacerts gdal libpostgresqlclient libQtSvg libQtWebkit libQtXml proj"
16 BUILD_DEPENDS="gdal-dev libQtWebkit perl proj-dev qmake Qt4-dev"
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"
29 qmake PREFIX="/usr" &&
30 make $MAKEFLAGS &&
32 # create localised messages
33 cd translations
34 make release &&
35 mkdir -p $install/usr/share/merkaartor/translations
36 cp *.qm $install/usr/share/merkaartor/translations
38 cd ..
39 make install INSTALL_ROOT=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $install/usr $fs
46 }