# Recipe for version 3.5.9 by keisangi, on Mon Mar 10 18:47:32 JST 2008
# by Maglan C. Diemer , 3.3.2 by roko
compile_version=1.9.0
url="http://download.kde.org/stable/3.5.9/src/kdebase-3.5.9.tar.bz2"
file_size=24239563
file_md5=c8c35389a238aa1b73e68ef5298eadf8
dir='kdebase-3.5.9'
recipe_type=configure
create_dirs_first=yes

pre_build() {
  ln -sf ${KDE-Libs_path}/3.5.9/include/kbookmarknotifier.h $target/include/kbookmarknotifier.h
  GrepReplace "XBINDIR *\"" "\"$goboExecutables" kdm/config.def
  GrepReplace "DEF_USER_PATH.*" "DEF_USER_PATH \"$goboExecutables\"" kdm/config.def
  GrepReplace "DEF_SYSTEM_PATH.*" "DEF_SYSTEM_PATH \"$goboExecutables\"" kdm/config.def
}

post_install() {
  rm -f $target/include/kbookmarknotifier.h
}

configure_options=(
   "--disable-debug"
   "--with-shadow"
   "--disable-libsuffix"             
#  "DO_NOT_COMPILE="
#libkonq applnk doc drkonqi kappfinder kate kcheckpass kcminit  kcontrol  kdcop  kdebugdialog  kdepasswd  kdeprint  kdesu  kdialog  kfind  khelpcenter khotkeys  kicker  kioslave  klipper  kmenuedit  konsole  kpager  kpersonalizer  kreadconfig  kscreensaver  ksmserver  ksplashml  kstart  ksysguard ksystraycmd  ktip  kwin  kxkb  l10n  nsplugins  pics  konqueror  kdesktop kdm
)

unmanaged_files=(
   $goboVariable/lib/kdm
)
