cd
test -f installed/gnomemeeting/gnomemeeting-1.0.2.tar.gz &&
mv installed/gnomemeeting/gnomemeeting-1.0.2.tar.gz .
test ! -f gnomemeeting-1.0.2.tar.gz &&
wget http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/\
gnomemeeting-1.0.2.tar.gz
cd /usr/local/src/gnomemeeting
find -type d -maxdepth 1 -name "gnomemeeting-*" -exec rm -r {} \;
tar xzvf ~/gnomemeeting-1.0.2.tar.gz
cd gnomemeeting-1.0.2
chown -R root.root .
./configure \
--with-pwlib-dir=/usr/local \
--with-openh323-dir=/usr/local \
--with-ldap-dir=/usr/local
# If make fails with an error like this:
# endpoint.cpp:100: no method `PIPSocket::IsIpAddressFamilyV6Supported'
# grab this patch, then re-run make:
wget -nc http://englanders.cc/pub/linux/patches/gnomemeeting-1.0.2.patch &&
patch -p0 < gnomemeeting-1.0.2.patch
make
make install
find /usr/local/share -type f -name gnomemeeting.mo -exec rm {} \;
cd
rm -f installed/gnomemeeting/gnomemeeting-*.tar.*
mv gnomemeeting-1.0.2.tar.gz installed/gnomemeeting/