#!/bin/sh if [ "$1" != "co" -a "$1" != "update" ]; then echo "Usage: $0 (co|update)" exit 1 fi cd $HOME/Devel/svn && echo "Entering directory `pwd`..." && \ svn $1 https://svn.sourceforge.net/svnroot/gaim/trunk gaim && \ export PATH="${PATH}:/usr/local/gnu-autotools/bin" && \ export CFLAGS="-I/usr/local/include" && \ export LDFLAGS="-pthread" cd ./gaim || exit 1 gmake clean ./autogen.sh \ --prefix=$HOME/usr/local \ --exec-prefix=$HOME/usr/local \ --enable-debug \ --enable-dbus=no \ --disable-perl \ --disable-gstreamer \ --disable-gtkspell \ --disable-gevolution \ --enable-gnutls=yes \ --enable-nss=no \ --with-libintl-prefix=/usr/local \ --with-gnutls-includes=/usr/local/include \ --with-gnutls-libs=/usr/local/lib \ --with-dynamic-prpls=jabber,yahoo,msn && \ find . -name "Makefile" -exec grep -l "^GMSGFMT =" {} \; | sed 's/^/sed -i "" s\/^GMSGFMT\\ =.*\/GMSGFMT\\ =\\ ":"\/g /' | sh && \ gmake && \ gmake install && \ echo "Alles OK! :)"