Sure:
#!/bin/sh
#
# Filename: Build-e17.sh
# Version: 0.2.4
# Author: Jasper Lievisse Adriaanse, [EMAIL PROTECTED], copyright 2005, BSD-license.
# Thanks to those on [email protected] who helped me with this script, especially Benone Marcos.
# # Before you can run this script, you must have downloaded E17's source from CVS with the following commands.
# cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/enlightenment login
# [just press enter when asked for a password]
# cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/enlightenment co e17
#
# # General variables are specified below # # Flags for GCC, pleae specify your own. FLAGS="-O3 -march=pentium3" # Flags for LDDFLAGS=-L$BUILD_DIR/lib CPPFLAGS=-I$BUILD_DIR/include
# This function will do the actual configuring, compiling and installing.
maak() {
make distclean &> /dev/null
# configure, make, & install with reporting to logfiles
./autogen.sh --prefix=$BUILD_DIR LDFLAGS=$LDFLAGS CPPFLAGS=$CPPFLAGS &> $CVS_SRC/logs/$X.log
make -j2 CFLAGS="$FLAGS" &> cat >> $CVS_SRC/logs/$X.log
make install &> /dev/null
if [ "$(grep -c Error $CVS_SRC/logs/$X.log)" != 0 ]; then
echo "Compile failed, please see the logs for more information"
fi
}
# Ruimop() will remove old logs and make a new dir the this build.
ruimop() {
echo "Removing left-overs and old stuff"
#rm -rf $BUILD_DIR/*
rm -rf $CVS_SRC/logs
mkdir $CVS_SRC/logs
}# Here the two most important variables will be promted for.
welke(){
echo "What shall be the building directory? [Please specify one, e.g.: /usr/local/e17]"
# Where the CVS directory is, the e17 of cvs must be included
read BUILD_DIR
echo "Where are E17's sources, taken from CVS? [Please specify one, e.g.:/usr/local/src/e17]"
# Where the CVS directory is, the e17 of cvs must be included
read CVS_SRC
if [ "$BUILD_DIR" == "$CVS_SRC" ]; then
echo "Please do not use the source directory as the building directory"
exit
fi
}
# Start building the libraries
libs() {
for X in imlib2 edb eet evas ecore epeg epsilon embryo edje esmart emotion etox ewl
do
echo $(date +%T) - Now building $X
cd $CVS_SRC/libs/$X
maak
done
}
# Start building the apps
apps() {
for X in iconbar entrance elicit e
do
echo $(date +%T) - Now building $X
cd $CVS_SRC/apps/$X
maak
done
}
#Start the actual script ruimop welke libs apps
MillTek wrote:
Can we see the script with these statements in place?
Jim
[EMAIL PROTECTED] wrote:
I just found it out. They should be on line 67 and 77 I think.
Jasper
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
