wok-current diff boinc/receipt @ rev 20655
cookutils: do not assume . in search path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 11:25:30 2019 +0100 (2019-01-13) |
parents | 9e01bc6321ea |
children | a78610b2eb47 |
line diff
1.1 --- a/boinc/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/boinc/receipt Sun Jan 13 11:25:30 2019 +0100 1.3 @@ -2,14 +2,13 @@ 1.4 1.5 PACKAGE="boinc" 1.6 VERSION="6.10.58" 1.7 -SVN_TAG="6_10_58" 1.8 CATEGORY="network" 1.9 SHORT_DESC="Open-source software for volunteer computing and grid computing." 1.10 MAINTAINER="pankso@slitaz.org" 1.11 LICENSE="GPL3" 1.12 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 WEB_SITE="http://boinc.berkeley.edu/" 1.14 -WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}" 1.15 +WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${VERSION//./_}" 1.16 1.17 # The init script requires bash. 1.18 DEPENDS="openssl libcurl wxWidgets28 libnotify bash" 1.19 @@ -27,7 +26,12 @@ 1.20 --enable-unicode \ 1.21 --enable-optimize \ 1.22 $CONFIGURE_ARGS && 1.23 - make && make install 1.24 + make 1.25 + for i in locale/*/*.mo; do 1.26 + [ -s $(dirname $i)/$(basename ${i%mo})po ] && 1.27 + rm $i && msgfmt -o $i $(dirname $i)/$(basename ${i%mo})po 1.28 + done 1.29 + make install 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg.