wok-6.x diff boinc/receipt @ rev 23471
updated python-cheetah (2.4.3 -> 2.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 05 14:34:55 2020 +0100 (2020-04-05) |
parents | 02c70d036ea0 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/boinc/receipt Tue Feb 26 09:14:07 2019 +0100 1.2 +++ b/boinc/receipt Sun Apr 05 14:34:55 2020 +0100 1.3 @@ -1,36 +1,40 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="boinc" 1.7 -VERSION="6.10.58" 1.8 +VERSION="7.16.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Open-source software for volunteer computing and grid computing." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL3" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="https://boinc.berkeley.edu/" 1.15 -WGET_URL="svn|https://boinc.berkeley.edu/svn/tags/boinc_core_release_${VERSION//./_}" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 +WGET_URL="https://github.com/BOINC/$PACKAGE/archive/client_release/${VERSION%.*}/$VERSION.tar.gz" 1.19 1.20 # The init script requires bash. 1.21 -DEPENDS="openssl libcurl wxWidgets28 libnotify bash" 1.22 -BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev libidn-dev \ 1.23 -wxWidgets28-dev libnotify-dev sqlite-dev file" 1.24 +DEPENDS="bash libcurl libnotify openssl wxWidgets" 1.25 +BUILD_DEPENDS="autoconf automake curl-dev file libidn-dev 1.26 + libnotify-dev libtool openssl-dev sqlite-dev wxWidgets-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 sed -i 's/AC_PROG_CPP/&\nAC_PROG_OBJCXX/' configure.ac 1.32 - automake --add-missing 1.33 - ./_autosetup 1.34 - ./configure \ 1.35 - --disable-server \ 1.36 - --enable-unicode \ 1.37 - --enable-optimize \ 1.38 + 1.39 +# automake --add-missing 1.40 + 1.41 + ./_autosetup && 1.42 + ./configure \ 1.43 + --disable-server \ 1.44 + --enable-unicode \ 1.45 + --enable-optimize \ 1.46 $CONFIGURE_ARGS && 1.47 - make 1.48 - for i in locale/*/*.mo; do 1.49 + make && 1.50 + for i in locale/*/*.mo 1.51 + do 1.52 [ -s $(dirname $i)/$(basename ${i%mo})po ] && 1.53 rm $i && msgfmt -o $i $(dirname $i)/$(basename ${i%mo})po 1.54 - done 1.55 + done && 1.56 make install 1.57 } 1.58 1.59 @@ -41,23 +45,25 @@ 1.60 $fs/usr/lib \ 1.61 $fs/var/lib/boinc \ 1.62 $fs/usr/share/pixmaps 1.63 - cp -a $install/etc $fs 1.64 - chmod 0644 $fs/etc/boinc-client.conf 1.65 - cp -a $install/usr/bin $fs/usr 1.66 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.67 - cp $install/usr/share/boinc/boincmgr.48x48.png \ 1.68 - $fs/usr/share/pixmaps/boincmgr.png 1.69 - rm $fs/etc/init.d/boinc-client 1.70 - cp $stuff/boinc-client $fs/etc/init.d/boinc-client 1.71 + 1.72 + cp -a $install/usr/etc $fs 1.73 + chmod 0644 $fs/etc/boinc-client.conf 1.74 + cp -a $install/usr/bin $fs/usr 1.75 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.76 + cp $src/packages/generic/sea/boincmgr.48x48.png \ 1.77 + $fs/usr/share/pixmaps/boincmgr.png 1.78 + rm $fs/etc/init.d/boinc-client 1.79 + cp $stuff/boinc-client $fs/etc/init.d/boinc-client 1.80 } 1.81 1.82 post_install() 1.83 { 1.84 echo 1.85 # Check if boinc user already exists 1.86 - if grep -q ^${BOINCUSER}: "$1/etc/passwd"; then 1.87 + if grep -q ^${BOINCUSER}: "$1/etc/passwd" 1.88 + then 1.89 chroot "$1/" adduser -g "BOINC User" -h /var/lib/boinc -s /bin/bash -S -H -D boinc 1.90 - else 1.91 + else 1.92 # In case boinc was previously installed: 1.93 chroot "$1/" chown -R boinc /var/lib/boinc 1.94 fi 1.95 @@ -70,10 +76,11 @@ 1.96 echo 1.97 echo -n "Delete user boinc and /var/lib/boinc (yes/No) ? : " 1.98 read -t 30 answer 1.99 - if [ "$answer" = "yes" ]; then 1.100 + if [ "$answer" = "yes" ] 1.101 + then 1.102 chroot "$1/" deluser boinc 1.103 rm -r "$1/var/lib/boinc" 1.104 - else 1.105 + else 1.106 echo "" 1.107 echo "Leaving user boinc and /var/lib/boinc" 1.108 fi