[oe-commits] Graeme Gregory : detect-stylus_svn.bb: install and package detect-tsdevice
GIT User account
git at amethyst.openembedded.net
Tue Jan 6 08:36:49 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ed3bee612c1b01f131b78f9eb3c0e823024b6bd9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ed3bee612c1b01f131b78f9eb3c0e823024b6bd9
Author: Graeme Gregory <graeme at openmoko.org>
Date: Mon Jul 28 17:06:44 2008 +0100
detect-stylus_svn.bb: install and package detect-tsdevice
---
packages/detect-stylus/detect-stylus_svn.bb | 10 ++++++++--
.../files/install-detect-tsdevice.patch | 11 +++++++++++
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 7f43854..fa315be 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 0000000..5d3afaa
--- /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
More information about the Openembedded-commits
mailing list