summaryrefslogtreecommitdiffstats
path: root/academic/boinc
diff options
context:
space:
mode:
Diffstat (limited to 'academic/boinc')
-rw-r--r--academic/boinc/README6
-rw-r--r--academic/boinc/boinc.SlackBuild21
-rw-r--r--academic/boinc/boinc.info10
3 files changed, 22 insertions, 15 deletions
diff --git a/academic/boinc/README b/academic/boinc/README
index f2130e2d19..35ab04a75a 100644
--- a/academic/boinc/README
+++ b/academic/boinc/README
@@ -12,7 +12,6 @@ Use the idle time on your computer (Windows, Mac, or Linux) to cure
diseases, study global warming, discover pulsars, and do many other
types of scientific research. It's safe, secure, and easy.
-
Building
(1) BOINC needs a static library for wxGTK3, compile with
@@ -29,10 +28,7 @@ to set the data directory in your user's home and build the package.
BOINCMGR=no ./boinc.SlackBuild
-then you do not need to install the dependencies (webp, webkit, wxGTK3).
-
-
-After installation
+then you do not need to install the dependencies (wxGTK3).
After installation you need to join a BOINC project:
http://boinc.berkeley.edu/projects.php
diff --git a/academic/boinc/boinc.SlackBuild b/academic/boinc/boinc.SlackBuild
index a456b96a97..83ffac3f80 100644
--- a/academic/boinc/boinc.SlackBuild
+++ b/academic/boinc/boinc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for boinc
@@ -24,11 +24,15 @@
#
# TODO: add rc.boinc.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=boinc
-VERSION=${VERSION:-7.16.4}
+VERSION=${VERSION:-7.16.16}
BRANCH=${BRANCH:-7.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+NUMJOBS=${NUMJOBS:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,7 +110,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-x \
--build=$ARCH-slackware-linux
-make
+make -j${NUMJOBS}
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -125,4 +136,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/boinc/boinc.info b/academic/boinc/boinc.info
index 8a3e9be145..f8f8fc215e 100644
--- a/academic/boinc/boinc.info
+++ b/academic/boinc/boinc.info
@@ -1,10 +1,10 @@
PRGNAM="boinc"
-VERSION="7.16.4"
+VERSION="7.16.16"
HOMEPAGE="https://boinc.berkeley.edu/"
-DOWNLOAD="https://github.com/BOINC/boinc/archive/client_release/7.16/7.16.4/boinc-client_release-7.16-7.16.4.tar.gz"
-MD5SUM="33aa0de75425d7c0b8acca0301df18b1"
+DOWNLOAD="https://github.com/BOINC/boinc/archive/client_release/7.16/7.16.16/boinc-client_release-7.16-7.16.16.tar.gz"
+MD5SUM="debf658ed8748c1c434c12f8a8a932a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libwebp wxGTK3"
+REQUIRES="wxGTK3"
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"