wok annotate merkaartor/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents 5ea0ce1cecc0
children acebe5bceb4f
rev   line source
pascal@17953 1 # SliTaz package receipt.
pascal@17953 2
pascal@17953 3 PACKAGE="merkaartor"
Hans-G?nter@21432 4 VERSION="0.18.3"
pascal@17953 5 CATEGORY="misc"
Hans-G?nter@21432 6 TAGS="openstreetmap"
pascal@17953 7 SHORT_DESC="An openstreetmap mapping program."
pascal@17953 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17953 9 LICENSE="GPL"
Hans-G?nter@21432 10 WEB_SITE="http://merkaartor.be/"
Hans-G?nter@21432 11
pascal@17953 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21432 13 WGET_URL="https://github.com/openstreetmap/$PACKAGE/archive/$VERSION.tar.gz"
pascal@17953 14
pascal@17953 15 DEPENDS="gdal proj libQtWebkit libQtSvg libQtXml libpostgresqlclient"
pascal@17953 16 BUILD_DEPENDS="wget Qt4-dev qmake gdal-dev proj-dev libQtWebkit"
pascal@17953 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24079 20 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
pascal@24079 21 sed '/releases.tag/!d;s|.*/tag.\(.*\)".*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@17953 24 # Rules to configure and make the package.
pascal@17953 25 compile_rules()
pascal@17953 26 {
pascal@21884 27 export CXXFLAGS="$CXXFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
pascal@17953 28 qmake PREFIX="/usr/" &&
Hans-G?nter@21432 29 make $MAKEFLAGS -j 1 &&
pascal@17953 30 make INSTALL_ROOT=$DESTDIR install
pascal@17953 31 }
pascal@17953 32
pascal@17953 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17953 34 genpkg_rules()
pascal@17953 35 {
pascal@17953 36 cp -a $install/usr $fs
pascal@17953 37 }