# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="1" inherit eutils qt4 multilib MY_P="psi-otr-0.4" S=${WORKDIR}/${MY_P} DESCRIPTION="OTR Plugin for Psi" HOMEPAGE="http://public.tfh-berlin.de/~s30935/" SRC_URI="http://public.tfh-berlin.de/~s30935/files/psi-otr-0.4.tar.gz" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" RESTRICT="test" DEPEND="~net-im/psi-0.12 ~net-libs/libotr-3.1.0" RDEPEND="${DEPEND}" pkg_setup() { qt4_pkg_setup } src_compile() { cd ${S} sed -i "s/\/usr\/local/\/usr/g" psi-otr.pro eqmake4 psi-otr.pro || die "qmake failed" } src_install() { emake INSTALL_ROOT="${D}" install || die "emake install failed" }