diff options
author | tnut <tnut at nutyx dot com> | 2012-03-04 18:06:05 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-03-04 18:06:05 +0100 |
commit | 3224c0c35c10aa5c49519dce7e8a3126de12883c (patch) | |
tree | 71b705f6b00965c8d57243134536dd9d9eb2003c /boinc/Pkgfile | |
parent | 1c2028b1c5c659c9fa1f6273fdd5f68906949b8a (diff) | |
parent | ab5145143c9a6ca1c5d9888339eb9df742edec3a (diff) | |
download | nutyx-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/Pkgfile')
-rwxr-xr-x | boinc/Pkgfile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/boinc/Pkgfile b/boinc/Pkgfile new file mode 100755 index 000000000..b59cf890d --- /dev/null +++ b/boinc/Pkgfile @@ -0,0 +1,51 @@ +# 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,libxslt,wxgtk,libnotify + +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 + install -D -m644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop + install -D -m644 $SRC/${_svnmod}-build/clientgui/res/boincmgr.48x48.png \ + $PKG/usr/share/pixmaps/$name.png + +} + |