# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde-functions eutils MY_P=${P} S=${WORKDIR}/${MY_P} DESCRIPTION="A Finite State Machine Editor based upon Qt." SRC_URI="http://aleron.dl.sourceforge.net/sourceforge/fsme/${MY_P}.tar.bz2" HOMEPAGE="http://fsme.sf.net" LICENSE="GPL" SLOT="0" IUSE="" KEYWORDS="~x86" need-qt 3 src_unpack() { unpack ${A} cd ${S} qmake } src_compile() { ### borrowed from kde.eclass # # # fix the sandbox errors "can't writ to .kde or .qt" problems. # this is a fake homedir that is writeable under the sandbox, so that the build process # can do anything it wants with it. REALHOME="$HOME" mkdir -p $T/fakehome/.kde mkdir -p $T/fakehome/.qt export HOME="$T/fakehome" # things that should access the real homedir [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" emake || die } src_install () { cd bin dobin fsme chmod ugo+rx fsme cd .. dodoc COPYING }