summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-13 05:16:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-13 05:16:47 +0000
commit6d0f4c0ccfdb7968c1de6fe025a737f301364500 (patch)
treed953ede4aa527c9557d2d67132936d0784d9dd69 /sys-apps
parentold (diff)
downloadgentoo-2-6d0f4c0ccfdb7968c1de6fe025a737f301364500.tar.gz
gentoo-2-6d0f4c0ccfdb7968c1de6fe025a737f301364500.tar.bz2
gentoo-2-6d0f4c0ccfdb7968c1de6fe025a737f301364500.zip
touchups / amd64 KEYWORDS
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild23
-rw-r--r--sys-apps/evkeyd/files/evkeyd.rc8
2 files changed, 13 insertions, 18 deletions
diff --git a/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild b/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild
index 7491f4b746bc..3af65a076f64 100644
--- a/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild
+++ b/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild
@@ -1,29 +1,24 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild,v 1.3 2004/09/03 21:03:23 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/evkeyd-0.1_pre7.ebuild,v 1.4 2005/02/13 05:16:47 vapier Exp $
+MY_PV=${PV/_/}
DESCRIPTION="Input event layer media key activator"
HOMEPAGE="http://www.stampflee.com/evkeyd/"
-MY_PV=${PV/_/}
SRC_URI="http://www.stampflee.com/evkeyd/downloads/evkeyd-${MY_PV}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc"
+KEYWORDS="amd64 ppc x86"
IUSE=""
-DEPEND=""
-S=${WORKDIR}/${PN}-${MY_PV}
-# Some opto breaks forking - upstream bug
-#CFLAGS=""
+DEPEND=""
-src_compile() {
- emake || die
-}
+S=${WORKDIR}/${PN}-${MY_PV}
src_install() {
- dosbin evkeyd
+ dosbin evkeyd || die
insinto /etc
doins evkeyd.conf
- exeinto /etc/init.d
- newexe ${FILESDIR}/evkeyd.rc evkeyd
+ newinitd ${FILESDIR}/evkeyd.rc evkeyd
}
diff --git a/sys-apps/evkeyd/files/evkeyd.rc b/sys-apps/evkeyd/files/evkeyd.rc
index c8fd4949296b..3bcef1b6da80 100644
--- a/sys-apps/evkeyd/files/evkeyd.rc
+++ b/sys-apps/evkeyd/files/evkeyd.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/files/evkeyd.rc,v 1.3 2004/07/15 00:40:57 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/files/evkeyd.rc,v 1.4 2005/02/13 05:16:47 vapier Exp $
depend() {
need localmount
@@ -10,11 +10,11 @@ depend() {
start() {
ebegin "Starting evkeysd"
start-stop-daemon --start --quiet --exec /usr/sbin/evkeyd
- eend ${?}
+ eend $?
}
stop() {
ebegin "Stopping evkeysd"
start-stop-daemon --stop --quiet --pidfile /var/run/evkeyd.pid
- eend ${?}
+ eend $?
}