summaryrefslogtreecommitdiffstats
path: root/boinc-nox/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-03-04 18:06:05 +0100
committertnut <tnut at nutyx dot com>2012-03-04 18:06:05 +0100
commit3224c0c35c10aa5c49519dce7e8a3126de12883c (patch)
tree71b705f6b00965c8d57243134536dd9d9eb2003c /boinc-nox/Pkgfile
parent1c2028b1c5c659c9fa1f6273fdd5f68906949b8a (diff)
parentab5145143c9a6ca1c5d9888339eb9df742edec3a (diff)
downloadnutyx-extra-3224c0c35c10aa5c49519dce7e8a3126de12883c.tar.gz
nutyx-extra-3224c0c35c10aa5c49519dce7e8a3126de12883c.tar.bz2
nutyx-extra-3224c0c35c10aa5c49519dce7e8a3126de12883c.tar.xz
nutyx-extra-3224c0c35c10aa5c49519dce7e8a3126de12883c.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/extra
Diffstat (limited to 'boinc-nox/Pkgfile')
-rwxr-xr-xboinc-nox/Pkgfile50
1 files changed, 50 insertions, 0 deletions
diff --git a/boinc-nox/Pkgfile b/boinc-nox/Pkgfile
new file mode 100755
index 000000000..ee9037e91
--- /dev/null
+++ b/boinc-nox/Pkgfile
@@ -0,0 +1,50 @@
+# Description: Infrastructure ouverte pour le calcul informatique par réseau de Berkeley
+# URL: http://boinc.berkeley.edu/
+# Maintainer: Michal Krenek mikos at sgl dot cz
+# Packager: lesibel at free dot fr
+# Depends on: curl,libxslt,subversion,wxgtk,libnotify
+# Run on:curl
+
+name=boinc-nox
+_name=boinc
+version=6.12.34
+release=1
+source=(boinc.bash boinc.desktop)
+
+_svnroot=http://boinc.berkeley.edu/svn/trunk
+_svnmod=boinc
+
+build() {
+ cd $SRC
+ svn co ${_svnroot}/${_svnmod}
+ rm -fr ${_svnmod}-build
+ cp -r $_svnmod $_svnmod-build
+ cd $_svnmod-build
+
+ ./_autosetup
+
+ sed \
+ -e "/^CFLAGS =/c CFLAGS = ${CFLAGS}" \
+ -e "/^LDFLAGS =/c LDFLAGS = ${LDFLAGS}" \
+ -e "/^CXXFLAGS =/c CXXFLAGS = ${CXXFLAGS}" \
+ -i {.,*,*/*,*/*/*,*/*/*/*}/Makefile.in
+ sed \
+ -e "/^CFLAGS =/c CFLAGS = $(pkg-config --cflags gtk+-2.0) ${CFLAGS}" \
+ -e "/^LDFLAGS =/c LDFLAGS = $(pkg-config --libs gtk+-2.0) ${LDFLAGS}" \
+ -e "/^CXXFLAGS =/c CXXFLAGS = $(pkg-config --cflags gtk+-2.0) ${CXXFLAGS}" \
+ -i clientgui/Makefile.in
+
+ ./configure --prefix=/usr --disable-server --enable-unicode --with-ssl \
+ --with-wxdir=/usr/lib --with-wx-config=$(which wx-config) \
+ --disable-static --enable-client --enable-manager
+ make
+
+ cd $SRC/$_svnmod-build
+
+ make DESTDIR=$PKG install
+
+ install -D -m644 $SRC/$_name.bash $PKG/etc/bash_completion.d/$_name
+ rm $PKG/usr/bin/boincmgr
+ rm -fr $PKG/usr/share/boinc
+}
+