# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/plptools/plptools-0.16.ebuild,v 1.1 2006/11/13 12:52:57 nbaggus Exp $ inherit kde-functions eutils DESCRIPTION="Libraries and utilities to communicate with a Psion palmtop via serial." HOMEPAGE="http://plptools.sourceforge.net" SRC_URI="mirror://sourceforge/plptools/${P}.tar.gz" LICENSE="GPL-2" SLOT="3.5" KEYWORDS="x86 amd64" DEPEND="readline? ( sys-libs/readline ) sys-fs/fuse" IUSE="threads largefile nls readline" src_unpack() { unpack ${A} } src_compile() { set-kdedir 3 local myconf="$(use_enable nls) $(use_enable largefile) $(use_enable readline) $(use_enable readline history) $(use_enable threads) --with-initdir=/etc/init.d/" econf ${myconf} || die emake || die } src_install () { make DESTDIR=${D} install || die dodoc ChangeLog README TODO doman etc/psidump.1 dobin etc/psidump insinto /etc/conf.d newins ${FILESDIR}/psion-1.0.8.conf plptools insinto /etc/init.d newins ${FILESDIR}/psion plptools }