summaryrefslogtreecommitdiff
blob: 912fae7c0218d755b3847ff8b1edbcf3585d9e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/fnfx/fnfx-0.3.ebuild,v 1.1 2005/02/22 15:21:10 genstef Exp $

DESCRIPTION="Daemon and client allowing use of Toshiba special keys"
HOMEPAGE="http://fnfx.sourceforge.net/"
SRC_URI="mirror://sourceforge/fnfx/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

src_install() {
	make install DESTDIR=${D} || die "make install failed"

	exeinto /etc/init.d
	newexe ${FILESDIR}/fnfxd fnfxd

	dodoc AUTHORS README ChangeLog
}

pkg_postinst() {
	echo
	einfo
	einfo "The Fnfx Toshiba function key package has been installed."
	einfo
	einfo "If you would like the service to start automatically on boot"
	einfo "please execute the command rc-update add fnfxd default."
	einfo
	echo
}