wok rev 25544
merkaartor: include localised messages in package
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 12 15:58:49 2023 +0100 (20 months ago) |
parents | c81179c4b106 |
children | 694752fdbc0d |
files | merkaartor/receipt |
line diff
1.1 --- a/merkaartor/receipt Sat Mar 11 12:33:53 2023 +0000 1.2 +++ b/merkaartor/receipt Sun Mar 12 15:58:49 2023 +0100 1.3 @@ -12,8 +12,8 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="https://github.com/openstreetmap/$PACKAGE/archive/$VERSION.tar.gz" 1.6 1.7 -DEPENDS="gdal proj libQtWebkit libQtSvg libQtXml libpostgresqlclient" 1.8 -BUILD_DEPENDS="wget Qt4-dev qmake gdal-dev proj-dev libQtWebkit" 1.9 +DEPENDS="cacerts gdal libpostgresqlclient libQtSvg libQtWebkit libQtXml proj" 1.10 +BUILD_DEPENDS="gdal-dev libQtWebkit perl proj-dev qmake Qt4-dev" 1.11 1.12 current_version() 1.13 { 1.14 @@ -25,13 +25,22 @@ 1.15 compile_rules() 1.16 { 1.17 export CXXFLAGS="$CXXFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" 1.18 - qmake PREFIX="/usr/" && 1.19 - make $MAKEFLAGS -j 1 && 1.20 - make INSTALL_ROOT=$DESTDIR install 1.21 + 1.22 + qmake PREFIX="/usr" && 1.23 + make $MAKEFLAGS && 1.24 + 1.25 + # create localised messages 1.26 + cd translations 1.27 + make release && 1.28 + mkdir -p $install/usr/share/merkaartor/translations 1.29 + cp *.qm $install/usr/share/merkaartor/translations 1.30 + 1.31 + cd .. 1.32 + make install INSTALL_ROOT=$DESTDIR 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - cp -a $install/usr $fs 1.39 + cp -a $install/usr $fs 1.40 }