# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools DESCRIPTION="GTK2 plugin for Licq" HOMEPAGE="http://icqnd.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="gnome spell" RDEPEND=">=net-im/licq-1.3.2 >=x11-libs/gtk+-2.4 gnome? ( >=gnome-base/libgnome-2.6 ) spell? ( app-text/gtkspell )" DEPEND="${RDEPEND}" PATCHES="${FILESDIR}/chomp-msg.diff ${FILESDIR}/options-startup-status-fix.diff ${FILESDIR}/icqnd-configure-gtkspell.diff" pkg_setup() { ewarn "This is an alpha version!" ewarn "Expect broken or missing functionality!" } src_unpack() { unpack ${A} cd ${S} for x in $PATCHES; do epatch ${x} done mkdir m4 cp "${FILESDIR}/gpgme.m4" "m4" AT_M4DIR="m4" eautoreconf } src_compile() { econf \ `use_enable spell gtkspell` \ || die "econf failed!" emake || die "emsake failed!" } src_install() { make DESTDIR=${D} install || die "install failed!" }