# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/licq-osd/licq-osd-1.3.2.2.ebuild,v 1.2 2008/07/05 15:37:21 loki_val Exp $ inherit multilib autotools DESCRIPTION="On Screen Display for licq" HOMEPAGE="http://sourceforge.net/projects/licq-osd" SRC_URI="mirror://sourceforge/${PN}/osd_${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="nls" DEPEND=">=net-im/licq-1.3.0_pre >=x11-libs/xosd-2.2.2 nls? ( sys-devel/gettext )" S=${WORKDIR}/osd-${PV} src_unpack() { unpack ${A} cd "${S}" rm -f admin/config.guess admin/config.sub admin/ltmain.sh AT_M4DIR=admin eautoreconf } src_compile() { local myconf use nls || myconf="--disable-nls" myconf="${myconf} --with-licq-includes=/usr/include/licq" econf ${myconf} || die emake || die } src_install() { einstall || die dodoc README licq_osd.conf TODO AUTHORS cd ${D}/usr/$(get_libdir) mkdir licq mv licq_osd.{so,la} licq/ }