--- /dev/null
+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
--- /dev/null
+a3f33eb6138152fe0ae537d95d29432a esekeyd
+73e2c817d0b3d21cc40ba5d94fe3abd0 esekeyd-1.2.6.tar.gz
+3e45f58d11bf04192ffeb15c247acbc4 esekeyd.conf
--- /dev/null
+# 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
+}
--- /dev/null
+#!/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
--- /dev/null
+#
+# /etc/esekeyd.conf
+#
+
+#POWER:/usr/bin/pm-suspend
+
+# End of file