From 3898a94c2a7401e1fd0e035585e38b81383ab7a8 Mon Sep 17 00:00:00 2001 From: orchidman Date: Thu, 1 Mar 2012 19:09:00 +0100 Subject: boinc 6.12.34-1 nx port --- boinc/Pkgfile | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 boinc/Pkgfile (limited to 'boinc/Pkgfile') 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 + +} + -- cgit v1.2.3-70-g09d2