# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-extprefs/gaim-extprefs-0.4-r1.ebuild,v 1.4 2005/07/19 20:06:09 herbs Exp $ inherit multilib eutils DESCRIPTION="A plugin that takes advantage of existing gaim functionality to provide preferences that are often desired but are not included in gaim." HOMEPAGE="http://gaim-extprefs.sourceforge.net" SRC_URI="mirror://sourceforge/gaim-extprefs/extendedprefs-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~sparc ~x86" IUSE="" RDEPEND=">=net-im/gaim-1.0.0" DEPEND="${RDEPEND} >sys-devel/libtool-1.5.14" S="${WORKDIR}/extendedprefs-${PV}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-64bitfix.patch sed -i -e "s:\$(PREFIX)/lib/:\$(PREFIX)/$(get_libdir)/:" \ ${S}/src/Makefile || die "sed failed" } src_compile() { #econf || die emake || die "emake failed" } src_install() { make PREFIX=${D}/usr install || die }