[Frugalware-git] playground: kde4.sh

crazy crazy at frugalware.org
Sun Nov 25 07:25:03 CET 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=playground.git;a=commitdiff;h=ab2fdeef15dd93279e2163675382b11d29ef47ff

commit ab2fdeef15dd93279e2163675382b11d29ef47ff
Author: crazy <crazy at frugalware.org>
Date:   Sun Nov 25 07:24:52 2007 +0100

kde4.sh
* added CMakeKDE_make()
* this only setups build etc and runs 'make' but does not
* install anything. Is used for 'split builds' right now

diff --git a/source/include/kde4.sh b/source/include/kde4.sh
index 87b193a..41b1643 100644
--- a/source/include/kde4.sh
+++ b/source/include/kde4.sh
@@ -87,7 +87,6 @@ fi
# == APPENDED VARIABLES
# * cmake to makedepends()
###
-
makedepends=(${makedepends[@]} 'cmake')

CMakeKDE_conf()
@@ -143,14 +142,20 @@ CMakeKDE_export_flags()
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing $KDE_CXX_FLAGS"
}

-CMakeKDE_build()
+# used for splitting
+CMakeKDE_make()
{
-
CMakeKDE_export_flags
CMakeKDE_prepare_build
CMakeKDE_conf
## do _not_ use any F* stuff here , cmake does not like it
make || Fdie
+}
+
+CMakeKDE_build()
+{
+
+	CMakeKDE_make
make DESTDIR=$Fdestdir install || Fdie
}


More information about the Frugalware-git mailing list