# Recipe (MakeRecipe) for KDE-Libs-Experimental by Michael Homer <michael@gobolinux.org>, on Wed Aug 5 14:22:39 NZST 2009
# Recipe for version 4.3.0 by Michael Homer <michael@gobolinux.org>, on Wed Aug 5 14:22:39 NZST 2009
compile_version=1.12.0
url="http://kde.mirrors.tds.net/pub/kde/stable/4.3.0/src/kdelibs-experimental-4.3.0.tar.bz2"
file_size=26923
file_md5=9b3ed689f4f357d4fc059cf9dd41e035
recipe_type=cmake

cmake_options=(
-DCMAKE_BUILD_TYPE=Release
)

do_install() {
   # This is an exceptionally ugly hack to make it install where it ought
   # (exceptional in general, not exceptional for what you ordinarily need
   # to work around cmake's broken design; for that it's fairly clean).
   sed '/.PHONY : install/,$ d' Makefile > Makefile.new
   echo "	mkdir -p '$target'/Shared/dbus-1/interfaces" >> Makefile.new
   echo "	mv $goboShared/dbus-1/interfaces/org.kde.NotificationItem* $target/Shared/dbus-1/interfaces" >> Makefile.new
   sed -n '/.PHONY : install/,$ p' Makefile >> Makefile.new
   mv Makefile.new Makefile
   cmake_do_install "$@"
}
