# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils subversion DESCRIPTION="QAvimator is a Qt port of Vince Invincible's avimator, a bvh animation editor, created for use in the 3D metaverse Second Life." HOMEPAGE="http://www.qavimator.org/" SLOT="0" KEYWORDS="~x86" DEPEND="x11-libs/qt" LICENSE="GPL-2" ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/qavimator" ESVN_FETCH_CMD="svn checkout" ESVN_UPDATE_CMD="svn up" ESVN_PROJECT="${PN}" S="${WORKDIR}/qavimator" src_unpack() { subversion_src_unpack } src_compile() { # I get this code from the compile-script export PATH=$QTDIR/bin:$PATH cd libquat/ $QTDIR/bin/qmake make cd .. $QTDIR/bin/qmake make } src_install() { dodir "/opt/${PN}" mv "${S}/TODO" "${D}/opt/${PN}" mv "${S}/examples" "${D}/opt/${PN}" mv "${S}/templates" "${D}/opt/${PN}" mv "${S}/bin/data" "${D}/opt/${PN}" mv "${S}/bin/qavimator" "${D}/opt/${PN}" }