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" 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/* exeinto /etc/init.d newexe ${FILESDIR}/lkl.init lkl newconfd "${FILESDIR}"/lkl.confd lkl } pkg_postinst() { einfo "Keymaps can be found in /usr/share/lkl/keymaps" einfo "Configuration can be made in /etc/conf.d/lkl" einfo "Default Keymap is us_km" }