wok-next diff boinc/receipt @ rev 18617

make-slitaz-icons: add media-player buttons that must use stock icons, but not used them
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 19 14:33:00 2015 +0200 (2015-11-19)
parents dfef8de3d270
children 9e01bc6321ea
line diff
     1.1 --- a/boinc/receipt	Fri Jan 30 10:17:37 2015 +0100
     1.2 +++ b/boinc/receipt	Thu Nov 19 14:33:00 2015 +0200
     1.3 @@ -12,14 +12,13 @@
     1.4  WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}"
     1.5  
     1.6  # The init script requires bash.
     1.7 -DEPENDS="openssl libcurl wxWidgets libnotify bash"
     1.8 +DEPENDS="openssl libcurl wxWidgets28 libnotify bash"
     1.9  BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev libidn-dev \
    1.10 -wxWidgets-dev libnotify-dev sqlite-dev file"
    1.11 +wxWidgets28-dev libnotify-dev sqlite-dev file"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	sed -i 's/AC_PROG_CPP/&\nAC_PROG_OBJCXX/' configure.ac
    1.18  	automake --add-missing
    1.19  	./_autosetup
    1.20 @@ -50,20 +49,21 @@
    1.21  
    1.22  post_install()
    1.23  {
    1.24 +	echo
    1.25  	# Check if boinc user already exists
    1.26 -	if [ -n "`grep ^${BOINCUSER}: $1/etc/passwd`" ] ; then                       
    1.27 +	if grep -q ^${BOINCUSER}: $1/etc/passwd; then
    1.28  		chroot "$1/" adduser -g "BOINC User" -h /var/lib/boinc -s /bin/bash -S -H -D boinc
    1.29  	else
    1.30  		# In case boinc was previously installed:
    1.31  		chroot "$1/" chown -R boinc /var/lib/boinc
    1.32 -        fi  
    1.33 -                                        
    1.34 -	echo -n "Start the boinc client with \"# /etc/init.d/boinc-client start\""
    1.35 -	echo ""
    1.36 +	fi
    1.37 +
    1.38 +	echo 'Start the boinc client with "# /etc/init.d/boinc-client start"'
    1.39  }
    1.40  
    1.41  post_remove()
    1.42  {
    1.43 +	echo
    1.44  	echo -n "Delete user boinc and /var/lib/boinc (yes/No) ? : "
    1.45  	read -t 30 answer
    1.46  	if [ "$answer" == "yes" ]; then