# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils flag-o-matic DESCRIPTION="GTK2 frontend for Licq" HOMEPAGE="http://icqnd.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nostrip" DEPEND=">=net-im/licq-1.3.0-r6 >=x11-libs/gtk+-2.6" RDEPEND="${DEPEND}" pkg_setup() { ewarn "This is a pre-alpha version!" ewarn "If you encounter any bugs or segfaults," ewarn "follow that path:" ewarn ewarn " http://geki.ath.cx/index.php/Hauptseite#Some_hacks" ewarn } src_unpack() { unpack ${A} cd ${S} # strip newline epatch ${FILESDIR}/gentoo.diff } src_compile() { strip-flags replace-flags "-O?" "-O0" econf --enable-debug || die "Configuration failed!" emake || die "Build failed!" } src_install() { make DESTDIR=${D} install || die "Install failed!" }