From 336e7d0017343b62f76350606c207a621900c0fa Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 21 Dec 2009 03:53:06 +0100 Subject: [PATCH] add prelimary port of meta key handling daemon --- fn-handle/.Makefile.swp | Bin 0 -> 12288 bytes fn-handle/Makefile | 47 +++++++++++++++++++++++++++++++++ fn-handle/files/fn-handle.init | 11 ++++++++ 3 files changed, 58 insertions(+) create mode 100644 fn-handle/.Makefile.swp create mode 100644 fn-handle/Makefile create mode 100755 fn-handle/files/fn-handle.init diff --git a/fn-handle/.Makefile.swp b/fn-handle/.Makefile.swp new file mode 100644 index 0000000000000000000000000000000000000000..dc5902b3a5380bc62e5ba707dd6669f4ec82fb18 GIT binary patch literal 12288 zcmeI2O>g5w7{_NhthB)LvYe0>X=r;$q^+H#-E9-eNNs9W*1AcQmmcG7OTsNKDSo>6{s{P>yi%+C`kQJzud z*g4`mMvbAp##r||y2Jo030rph;yxriStZHf~u zRP06OLpk^SsW%p>8OECvFAgH1%p-3qLK%tY8lIBK02#QuYcG zH*O6s%ceLPAOmE843GgbKnBPF86X4yLj!t#jeU%Dy|7%HxjbHb>bN|m0~sI#WPl8i z0Wv@a$N(8217v^NJ{r>;^RmOe-KY~xe6i6@uN5BQU zU=95F3S+;3pTXB414B>+x4`S*kDHAB4t@aNg0H~mU<4k3_rU>p2Uy@XcoF=CdHn`{ z1>b{jz?a|)@EJG(0t~?iAYaE@;5N7psF49OKnBPF86X2>fDDiUGVm`08_QM_kGzO) zlzcD3;fi)4aX*t$&{@>)-Z?MdEtm1tJPt(2Zrs=?Rm-N(zA0m=jle|6SUuk;b?zSy zTYE=#nLl7icUryvp6d?xomL(>8zM`UIYJF_ah`YCA2{y8@WAPoQ8zplr|I)_KO61I zgf8~VheHHYm$Bf>g*~ZD#v)P;L1)Wb<`ovqW)g>ToGH{SFBZ@FpzAiQiPrOmY0g#h zq40HTJd~(%R>5OW3Bylj7&8zj#(Xk2!<9QR&ihW^wHwy43=*6*_xko>yZc_l8fY0w zEk%lG&u;decB^4!2&R`#96#Y=Kgt4uC+xJE?%=>)s9V-v8?z~6xz%2K&~4hoW4qfc zhFv_Ku6&zumCLQm>9txIyeHHRn6ZxY+rsI~&?l z#`vSfa=Nx_@AV+DTHG4zXjtCedSy!l+x3d?S1a3oJ=_xY+D^s4yIm9a{J`@^+oQ_8 zdeP%tM6FV(SF6?CBARd4hIKx>RlEImr`VG!i$q#zU1#gOCj>WLr)jr(HV+fUXNeMA z#&|pPv`k_HN&SgTIbNYccAA7b-y(N-Bz+O5BH$S|isE`A_+e|n4@E2#KC+!`gbeO3 kviPGKhQeUYWPYmTc%pf!S?2ldc^jqo?<#F1YK)YB0Dt6b1^@s6 literal 0 HcmV?d00001 diff --git a/fn-handle/Makefile b/fn-handle/Makefile new file mode 100644 index 0000000..3a255f1 --- /dev/null +++ b/fn-handle/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=fn-handle +PKG_VERSION:=20091118 +PKG_REV:=a5903ed490cc104c9f3e9270c542e6cdacb4b069 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=git://projects.qi-hardware.com/fn-handle.git +PKG_SOURCE_PROTO:=git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) + +include $(INCLUDE_DIR)/package.mk + +define Package/fn-handle + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Vido + URL:=http://projects.qi-hardware.com/index.php/f/fn-handle/ +endef + +define Build/Configure +endef + +define Package/fn-handle/install + $(INSTALL_DIR) \ + $(1)/etc/init.d \ + $(1)/usr/bin + + $(INSTALL_BIN) \ + $(PKG_BUILD_DIR)/fnkeys \ + $(1)/usr/bin/ + + $(INSTALL_BIN) \ + ./files/$(PKG_NAME).init \ + $(1)/etc/init.d/ +endef + +$(eval $(call BuildPackage,fn-handle)) diff --git a/fn-handle/files/fn-handle.init b/fn-handle/files/fn-handle.init new file mode 100755 index 0000000..a1eb3b8 --- /dev/null +++ b/fn-handle/files/fn-handle.init @@ -0,0 +1,11 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org +START=40 + +start() { + fn-handle +} + +stop() { + killall fn-handle +}