DESCRIPTION="LKL is a userspace keylogger that runs under Linux on the x86 architechture." HOMEPAGE="http://sourceforge.net/projects/lkl/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="sys-libs/glibc" inherit eutils S="${WORKDIR}/${PN}" src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README dodir /usr/share/lkl/keymaps insinto /usr/share/lkl/keymaps doins ./keymaps/* } pkg_postinst() { einfo "Keymaps can be found in /usr/share/lkl/keymaps" einfo "Run lkl -l -k /usr/shar/lkl/keymaps/it_km -o log.file " einfo "to run the keylogger with us keymaps and output in log.file" }