|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/gnome24/evolution/evolution.conf
|
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
. $base/package/*/*/gnome-2.conf
|
|
|
|
evo_main()
|
|
{
|
|
echo "Extracting the berkeley-db (3.1.17) needed by evolution ..."
|
|
tar $taropt $archdir/db-3.1.17.tar.bz2
|
|
cd db-3.1.17/build_unix
|
|
eval ../dist/configure $confopt
|
|
make
|
|
cd ../..
|
|
|
|
echo "Building evolution ..."
|
|
confopt="$confopt --with-db3-includes=$PWD/db-3.1.17/build_unix \
|
|
--with-db3-libs=$PWD/db-3.1.17/build_unix \
|
|
--enable-ipv6=yes \
|
|
--enable-nss=yes \
|
|
--enable-pilot-conduits=yes \
|
|
--enable-nntp=yes"
|
|
|
|
pkginstalled openldap && var_append confopt ' ' "--with-openldap=$root/$pkg_openldap_prefix"
|
|
|
|
# --with-krb5=PREFIX Location of Kerberos 5 libs/includes
|
|
# --with-krb4=PREFIX Location of Kerberos 4 libs/includes
|
|
|
|
eval_config_command $( eval echo $confopt )
|
|
eval $MAKE ; eval $MAKE install
|
|
}
|
|
|
|
custmain="evo_main"
|
|
|
|
#FIXME
|
|
minorver="`echo $ver | sed 's/\([0-9]\.[0-9]\).*/\1/'`"
|
|
|
|
hook_add postmake 3 "echo \"pkg_evolution_prefix=/$prefix\" \
|
|
> $root/var/adm/parse-config/evolution"
|
|
hook_add postmake 3 "echo \"pkg_evolution_libs=/$prefix/lib/evolution/$minorver\" \
|
|
>> $root/var/adm/parse-config/evolution"
|