CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
esekeyd: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Thu, 13 May 2010 15:46:40 +0000 (17:46 +0200)
committerJose V Beneyto <sepen@crux.nu>
Thu, 13 May 2010 15:46:40 +0000 (17:46 +0200)
esekeyd/.footprint [new file with mode: 0644]
esekeyd/.md5sum [new file with mode: 0644]
esekeyd/Pkgfile [new file with mode: 0644]
esekeyd/esekeyd [new file with mode: 0644]
esekeyd/esekeyd.conf [new file with mode: 0644]

diff --git a/esekeyd/.footprint b/esekeyd/.footprint
new file mode 100644 (file)
index 0000000..9cac4c6
--- /dev/null
@@ -0,0 +1,15 @@
+drwxr-xr-x     root/root       etc/
+-rw-r--r--     root/root       etc/esekeyd.conf
+drwxr-xr-x     root/root       etc/rc.d/
+-rwxr-xr-x     root/root       etc/rc.d/esekeyd
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/keytest
+-rwxr-xr-x     root/root       usr/bin/learnkeys
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/esekeyd.1.gz
+-rw-r--r--     root/root       usr/man/man1/keytest.1.gz
+-rw-r--r--     root/root       usr/man/man1/learnkeys.1.gz
+drwxr-xr-x     root/root       usr/sbin/
+-rwxr-xr-x     root/root       usr/sbin/esekeyd
diff --git a/esekeyd/.md5sum b/esekeyd/.md5sum
new file mode 100644 (file)
index 0000000..34cb8bd
--- /dev/null
@@ -0,0 +1,3 @@
+a3f33eb6138152fe0ae537d95d29432a  esekeyd
+73e2c817d0b3d21cc40ba5d94fe3abd0  esekeyd-1.2.6.tar.gz
+3e45f58d11bf04192ffeb15c247acbc4  esekeyd.conf
diff --git a/esekeyd/Pkgfile b/esekeyd/Pkgfile
new file mode 100644 (file)
index 0000000..5d7c372
--- /dev/null
@@ -0,0 +1,27 @@
+# Description: Multimedia keyboard driver for linux
+# URL: http://www.burghardt.pl/2007/12/ese-key-daemon/
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: 
+
+name=esekeyd
+version=1.2.6
+release=1
+source=(http://www.burghardt.pl/files/$name-$version.tar.gz \
+        $name $name.conf)
+
+build() {
+  cd $name-$version
+
+  sed -i src/Makefile* \
+      -e "s|/usr/include|$CLFS/usr/include|g"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man
+
+  make
+  make DESTDIR=$PKG install
+  install -D -m 0755 $SRC/$name $PKG/etc/rc.d/$name
+  install -D -m 0644 $SRC/$name.conf $PKG/etc/$name.conf
+}
diff --git a/esekeyd/esekeyd b/esekeyd/esekeyd
new file mode 100644 (file)
index 0000000..8fed4e3
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# /etc/rc.d/esekeyd: start/stop esekeyd daemon
+#
+
+case $1 in
+  start)
+    /usr/sbin/esekeyd /etc/esekeyd.conf /dev/input/event0
+    ;;
+  stop)
+    kill $(cat /var/run/esekeyd.pid)
+    ;;
+  restart)
+    $0 stop
+    sleep 2
+    $0 start
+    ;;
+  *)
+    echo "Usage: $0 [start|stop|restart]"
+    ;;
+esac
+
+# End of file
diff --git a/esekeyd/esekeyd.conf b/esekeyd/esekeyd.conf
new file mode 100644 (file)
index 0000000..a4770e9
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# /etc/esekeyd.conf
+# 
+
+#POWER:/usr/bin/pm-suspend
+
+# End of file