File diff 000000000000 → 000000000000
app-laptop/sonykeyd/sonykeyd-0.2.2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2005 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
inherit eutils
 

	
 
S=${WORKDIR}/${PN}
 
DESCRIPTION="A daemon to use fn key on Sony Vaio Laptops"
 
HOMEPAGE="http://juljas.net/linux/vaiofx240/sonykeyd.html"
 
SRC_URI="http://knefas.altervista.org/${P}.tar.gz"
 

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

	
 
src_unpack() {
 
	unpack ${A} || die
 
}
 

	
 
src_compile() {
 
	cd ${S} || die
 
	emake || die
 
}
 

	
 
src_install() {
 
	exeinto /usr/sbin
 
	doexe sonykeyd
 
	exeinto /usr/local/sbin
 
	doexe scripts/sonykey.sh
 

	
 
	exeinto /etc/init.d
 
	doexe scripts/sonypi
 
	dodoc doc/README
 
}
 

	
 
pkg_postinst() {
 
	einfo "To enable fn-keys at boot run"
 
	einfo "rc-update add sonypi default"
 
	einfo "Please see http://forums.gentoo.org/viewtopic-t-361872.html"
 
}