wok-current rev 22560

updated boinc and boinc-dev (6.10.58 -> 7.16.3)
author Hans-G?nter Theisgen
date Sat Jan 04 17:51:29 2020 +0100 (2020-01-04)
parents 319f735969b9
children cc177a7db8f1
files boinc-dev/receipt boinc/receipt
line diff
     1.1 --- a/boinc-dev/receipt	Sat Jan 04 16:49:42 2020 +0100
     1.2 +++ b/boinc-dev/receipt	Sat Jan 04 17:51:29 2020 +0100
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="boinc-dev"
     1.7 -VERSION="6.10.58"
     1.8 +VERSION="7.16.3"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="BOINC devel files."
    1.11 +SHORT_DESC="BOINC development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -WANTED="boinc"
    1.15  WEB_SITE="https://boinc.berkeley.edu/"
    1.16  
    1.17  DEPENDS="boinc"
    1.18 +WANTED="boinc"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 +
    1.27 +	cp -a $install/usr/include	$fs/usr
    1.28 +	cp -a $install/usr/lib/*.*a	$fs/usr/lib
    1.29  }
    1.30 -
     2.1 --- a/boinc/receipt	Sat Jan 04 16:49:42 2020 +0100
     2.2 +++ b/boinc/receipt	Sat Jan 04 17:51:29 2020 +0100
     2.3 @@ -1,36 +1,40 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="boinc"
     2.7 -VERSION="6.10.58"
     2.8 +VERSION="7.16.3"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Open-source software for volunteer computing and grid computing."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="GPL3"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14  WEB_SITE="https://boinc.berkeley.edu/"
    2.15 -WGET_URL="svn|https://boinc.berkeley.edu/svn/tags/boinc_core_release_${VERSION//./_}"
    2.16 +
    2.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 +WGET_URL="https://github.com/BOINC/$PACKAGE/archive/client_release/${VERSION%.*}/$VERSION.tar.gz"
    2.19  
    2.20  # The init script requires bash.
    2.21 -DEPENDS="openssl libcurl wxWidgets28 libnotify bash"
    2.22 -BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev libidn-dev \
    2.23 -wxWidgets28-dev libnotify-dev sqlite-dev file"
    2.24 +DEPENDS="bash libcurl libnotify openssl wxWidgets"
    2.25 +BUILD_DEPENDS="autoconf automake curl-dev file libidn-dev 
    2.26 +	libnotify-dev libtool openssl-dev sqlite-dev wxWidgets-dev"
    2.27  
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31  	sed -i 's/AC_PROG_CPP/&\nAC_PROG_OBJCXX/' configure.ac
    2.32 -	automake --add-missing
    2.33 -	./_autosetup
    2.34 -	./configure \
    2.35 -		--disable-server \
    2.36 -		--enable-unicode \
    2.37 -		--enable-optimize \
    2.38 +
    2.39 +#	automake --add-missing
    2.40 +
    2.41 +	./_autosetup &&
    2.42 +	./configure			\
    2.43 +		--disable-server	\
    2.44 +		--enable-unicode	\
    2.45 +		--enable-optimize	\
    2.46  		$CONFIGURE_ARGS &&
    2.47 -	make
    2.48 -	for i in locale/*/*.mo; do
    2.49 +	make &&
    2.50 +	for i in locale/*/*.mo
    2.51 +	  do
    2.52  		[ -s $(dirname $i)/$(basename ${i%mo})po ] &&
    2.53  		rm $i && msgfmt -o $i $(dirname $i)/$(basename ${i%mo})po
    2.54 -	done
    2.55 +	  done &&
    2.56  	make install
    2.57  }
    2.58  
    2.59 @@ -41,23 +45,25 @@
    2.60  		$fs/usr/lib \
    2.61  		$fs/var/lib/boinc \
    2.62  		$fs/usr/share/pixmaps
    2.63 -	cp -a $install/etc $fs
    2.64 -	chmod 0644 $fs/etc/boinc-client.conf
    2.65 -	cp -a $install/usr/bin $fs/usr
    2.66 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.67 -	cp $install/usr/share/boinc/boincmgr.48x48.png \
    2.68 -		$fs/usr/share/pixmaps/boincmgr.png
    2.69 -	rm $fs/etc/init.d/boinc-client
    2.70 -	cp $stuff/boinc-client $fs/etc/init.d/boinc-client
    2.71 +
    2.72 +	cp -a $install/usr/etc		$fs
    2.73 +	chmod 0644			$fs/etc/boinc-client.conf
    2.74 +	cp -a $install/usr/bin		$fs/usr
    2.75 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.76 +	cp $src/packages/generic/sea/boincmgr.48x48.png \
    2.77 +					$fs/usr/share/pixmaps/boincmgr.png
    2.78 +	rm				$fs/etc/init.d/boinc-client
    2.79 +	cp $stuff/boinc-client		$fs/etc/init.d/boinc-client
    2.80  }
    2.81  
    2.82  post_install()
    2.83  {
    2.84  	echo
    2.85  	# Check if boinc user already exists
    2.86 -	if grep -q ^${BOINCUSER}: "$1/etc/passwd"; then
    2.87 +	if grep -q ^${BOINCUSER}: "$1/etc/passwd"
    2.88 +	  then
    2.89  		chroot "$1/" adduser -g "BOINC User" -h /var/lib/boinc -s /bin/bash -S -H -D boinc
    2.90 -	else
    2.91 +	  else
    2.92  		# In case boinc was previously installed:
    2.93  		chroot "$1/" chown -R boinc /var/lib/boinc
    2.94  	fi
    2.95 @@ -70,10 +76,11 @@
    2.96  	echo
    2.97  	echo -n "Delete user boinc and /var/lib/boinc (yes/No) ? : "
    2.98  	read -t 30 answer
    2.99 -	if [ "$answer" = "yes" ]; then
   2.100 +	if [ "$answer" = "yes" ]
   2.101 +	  then
   2.102  		chroot "$1/" deluser boinc
   2.103  		rm -r "$1/var/lib/boinc"
   2.104 -	else
   2.105 +	  else
   2.106  		echo ""
   2.107  		echo "Leaving user boinc and /var/lib/boinc"
   2.108  	fi