# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde-functions 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="0" KEYWORDS="~x86" DEPEND="kde? ( >=kde-base/kdelibs-3.1 ) readline? ( sys-libs/readline )" IUSE="kde nls readline" src_compile() { if use kde; then set-qtdir 3 set-kdedir 3 fi econf $(use_enable kde) \ $(use_enable nls) \ $(use_enable readline) \ $(use_enable readline history) \ --disable-newt || die emake || die } src_install () { make DESTDIR=${D} install || die dodoc CHANGES ChangeLog README TODO insinto /etc/conf.d newins ${FILESDIR}/psion.conf psion exeinto /etc/init.d doexe ${FILESDIR}/psion }