# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils flag-o-matic DESCRIPTION="GTK2 frontend for Licq" HOMEPAGE="http://sourceforge.net/projects/icqnd/" SRC_URI="mirror://sourceforge/${PN}/${P}-1.3.1.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" IUSE="" RESTRICT="nomirror nostrip" RDEPEND=">=net-im/licq-1.3.0-r7 >=x11-libs/gtk+-2.6" DEPEND="" S="${WORKDIR}/${P}-1.3.1" pkg_config() { eerror eerror " This is a pre-alpha version!" eerror " If you encounter any bugs or segfaults," eerror " follow that path:" eerror eerror " http://geki.ath.cx/index.php/Hauptseite#Some_hacks" eerror } src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/gentoo.diff } src_compile() { export CFLAGS="-O0 -pipe" export CXXFLAGS="-O0 -pipe" econf --enable-debug || die "configuration failed" emake || die "build failed" } src_install() { make DESTDIR=${D} install || die "install failed" } pkg_postrm() { pkg_config; }