# $Header: /magellan-cvs/smage/kbfx/kbfx-4.9.3.1-r4.smage2,v 1.1 2008/04/06 19:31:23 niro Exp $ PNAME="kbfx" PVER="4.9.3.1" PBUILD="r4" PCATEGORIE="x11-themes" STATE="unstable" DESCRIPTION="Kbfx is meant to be a kicker bar menu button replacement on KDE." HOMEPAGE="http://www.kbfx.org/" DEPEND=">= kde-base/kdebase-3" SDEPEND=">= dev-util/cmake-2.4.7" SRCFILE="${PNAME}-0.${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-0.${PVER}" SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # include global kde3 functions sminclude kde3 src_compile() { cd ${SRCDIR} cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ -DCMAKE_BUILD_TYPE=Release \ -DUSE_STRIGI=OFF \ -DUSE_MENUDRAKE=OFF \ -DUSE_KDE4=OFF \ || die mmake || die } preinstall() { # fix a symlink issue if [[ -L ${MROOT}/usr/share/doc/HTML/en/kbfxconfigapp ]] then rm ${MROOT}/usr/share/doc/HTML/en/kbfxconfigapp fi }