# Recipe for version 3.5.1 by Kosh <kosh.linux at gmail.com>, on Thu Feb 9 02:51:03 BRST 2006
# by Maglan C. Diemer && Andre Detsch

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

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
}
