# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libtlen/libtlen-20060309.ebuild,v 1.2 2006/04/16 07:09:54 spock Exp $ inherit eutils DESCRIPTION="Support library for Tlen IMS" HOMEPAGE="http://tleenx.sourceforge.net/" SRC_URI="mirror://sourceforge/tleenx/${P}.tar.gz" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64" SLOT="0" LICENSE="GPL-2" IUSE="doc" DEPEND="virtual/libc" src_unpack() { unpack ${A} cd ${S} if use amd64; then epatch ${FILESDIR}/20040912-fPIC.patch aclocal autoconf libtoolize --force --copy fi } src_compile() { econf \ --enable-shared || die emake all || die } src_install() { einstall || die dodoc ChangeLog }