#!/bin/sh -v # gnonfigure: set the appropriate envirnoment variables and configure # a GNOME package (by running autogen.sh) # # NOTE: the script must be run in the package top directory. # the build directory is set to 'build-' (the directory # is removed if existent and re-created). # # Author: Raffaele Sena (raff@aromatic.com) # ...Another Aromatic Production (TM) # if [ "$GNOME" = "" ]; then GNOME=/usr/local/gnome fi build=build-`uname -m` rm -rf $build mkdir $build cd $build LD_LIBRARY_PATH=$GNOME/lib \ PATH=$PATH:$GNOME/bin \ ACLOCAL_FLAGS="-I $GNOME/share/aclocal" \ ../autogen.sh \ --prefix=$GNOME \ --with-glib-prefix=$GNOME \ --with-glib-exec-prefix=$GNOME \ --with-gtk-prefix=$GNOME \ --with-gtk-exec-prefix=$GNOME