wget http://download.opengroupware.org/nightly/sources/trunk/LATESTVERSION
for i in `cat LATESTVERSION` ; do wget http://download.opengroupware.org/nightly/sources/trunk/$i ; done;
for i in `cat LATESTVERSION` ; do tar -zxf $i ; done;
cd gnustep-make-1.10.0
./configure --prefix=/OGo/OGo_117 --with-library-combo=gnu-fd-nil && make && make install
cd Documentation/
make && make install
cd ../..
. OGo_117/System/Makefiles/GNUstep.sh
wget http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc.tar.gz
tar -zxf gc.tar.gz
cd gc6.8/
./configure --prefix=/usr && make && make install
ldconfig
cd ..
cd libobjc-lf2
./configure --with-gnustep --enable-debug && make && make install
cd ..
cd libfoundation
./configure --with-gnustep && make && make install
cd ..
tar -zxf libxml2-sources-2.7.3.tar.gz
tar -zxf libxslt-1.1.24.tar.gz
cd libxml2-2.7.3/
./configure && make && make install
cd ..
cd libxslt-1.1.24
./configure && make && make install
cd ..
cd opengroupware.org-pilot-link
./configure && make && make check && make install
cd ..
cd sope
make distclean && ./configure && make all && make install
cd ..
cd sope-epoz
FHS_INSTALL_ROOT=/usr/local make
FHS_INSTALL_ROOT=/usr/local make install
cd ..
cd opengroupware.org
#make distclean && ./configure --without-pisock && make all && make install
# siste versjon feilet med --without-pisock
make distclean && ./configure && make all && make install
cd ..
ln -s /OGo/opengroupware.org/Themes/WebServerResources /usr/local/share/opengroupware.org-1.1/www
cd sope-mod_ngobjweb
make apxs=/usr/sbin/apxs HTTPD=/usr/sbin/httpd apr=/usr/bin/apr-1-config && make install
cd ..
chown -R ogo.ogo opengroupware.org
OGO_USER="ogo"
OGO_GROUP="ogo"
OGO_HOME="/usr/local/lib/opengroupware.org-1.1"
chmod 755 ${OGO_HOME}
chown -R ${OGO_USER}:${OGO_GROUP} ${OGO_HOME}