# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit subversion qt3 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 ~amd64" DEPEND="x11-libs/qt" LICENSE="GPL-2" ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/qavimator" src_unpack() { subversion_src_unpack epatch "${FILESDIR}/data_path.patch" } 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 "/usr/lib/${PN}" mv "${S}/TODO" "${D}/usr/lib/${PN}" mv "${S}/examples" "${D}/usr/lib/${PN}" mv "${S}/bin/data" "${D}/usr/lib/${PN}" dobin "${S}/bin/qavimator" }