summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <graeme@openmoko.org>2008-07-28 17:06:44 +0100
committerJohn Lee <john_lee@openmoko.org>2009-01-05 17:07:02 +0800
commited3bee612c1b01f131b78f9eb3c0e823024b6bd9 (patch)
treecbcb7ef8d905c89b12f269c97ebff8f11255f063 /packages
parent83dadf415efc7177b3e70c623ecf935c1e0a1dc1 (diff)
detect-stylus_svn.bb: install and package detect-tsdevice
Diffstat (limited to 'packages')
-rw-r--r--packages/detect-stylus/detect-stylus_svn.bb10
-rw-r--r--packages/detect-stylus/files/install-detect-tsdevice.patch11
2 files changed, 19 insertions, 2 deletions
diff --git a/packages/detect-stylus/detect-stylus_svn.bb b/packages/detect-stylus/detect-stylus_svn.bb
index 7f4385473c..fa315bea07 100644
--- a/packages/detect-stylus/detect-stylus_svn.bb
+++ b/packages/detect-stylus/detect-stylus_svn.bb
@@ -3,16 +3,22 @@ SECTION = "gpe"
LICENSE = "GPL"
DEPENDS = "virtual/libx11 xcursor-transparent-theme xrdb"
RDEPENDS = "xrdb"
-PV = "0.13+svn${SRCDATE}"
+PV = "0.13+svnr${SRCREV}"
PR = "r0"
inherit gpe pkgconfig
SRC_URI = "${GPE_SVN} \
- file://detect-stylus-svn-build.patch;patch=1"
+ file://detect-stylus-svn-build.patch;patch=1 \
+ file://install-detect-tsdevice.patch;patch=1"
S = "${WORKDIR}/${PN}"
export CVSBUILD="no"
DEFAULT_PREFERENCE = "-1"
+
+PACKAGES =+ "detect-tsdevice"
+
+FILES_detect-tsdevice = "${bindir}/detect-tsdevice"
+
diff --git a/packages/detect-stylus/files/install-detect-tsdevice.patch b/packages/detect-stylus/files/install-detect-tsdevice.patch
new file mode 100644
index 0000000000..5d3afaa49e
--- /dev/null
+++ b/packages/detect-stylus/files/install-detect-tsdevice.patch
@@ -0,0 +1,11 @@
+Index: detect-stylus/Makefile
+===================================================================
+--- detect-stylus.orig/Makefile 2008-07-28 16:30:40.000000000 +0100
++++ detect-stylus/Makefile 2008-07-28 16:31:08.000000000 +0100
+@@ -39,5 +39,6 @@
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
+ $(STRIP) $(PACKAGE)
+ install $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
++ install detect-tsdevice $(DESTDIR)$(PREFIX)/bin/detect-tsdevice
+ mkdir -p $(DESTDIR)/etc/X11/Xinit.d
+ install 70detect-stylus $(DESTDIR)/etc/X11/Xinit.d