# Recipe for version 3.5.3 by Rui Andrada <shingonoide at gmail>, on Sun Jun 4 13:30:41 BRT 2006
# by Maglan C. Diemer && Andre Detsch

url="ftp://ftp.oregonstate.edu/pub/kde/stable/3.5.3/src/kdepim-3.5.3.tar.bz2"
compile_version=1.7.1
recipe_type=configure
configure_options=(
  "--disable-debug"
  "--disable-dependency-tracking"
#  "--without-kpilot"
#  "DO_NOT_COMPILE=kpilot" 
)

pre_install() {
	# Change install path for designer plugins so they go to $target
	# and not /Programs/KDE-Libs
	repl_from='$(DESTDIR)$(kde_widgetdir)'
	repl_to="$target/lib/kde3/plugins/designer"
	GrepReplace "$repl_from" "$repl_to" ./libkdepim/kpartsdesignerplugin/Makefile
	GrepReplace "$repl_from" "$repl_to" ./libkdepim/Makefile
}
