diff options
Diffstat (limited to 'boinc-nox/Pkgfile')
-rwxr-xr-x | boinc-nox/Pkgfile | 50 |
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 +} + |