[oe-commits] Frans Meulenbroeks : nxcompsh: new recipe

git version control git at git.openembedded.org
Wed Aug 25 20:07:34 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 29ceee356c56e0300184ce4dd839c4b3f71da800
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=29ceee356c56e0300184ce4dd839c4b3f71da800

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Wed Aug 25 22:03:40 2010 +0200

nxcompsh: new recipe

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/freenx/nxcompsh/iostream.patch |   14 +++++++++++++
 recipes/freenx/nxcompsh_3.4.0-2.bb     |   33 ++++++++++++++++++++++++++++++++
 recipes/freenx/nxcompshad_3.4.0-3.bb   |   17 ++++++++++++++++
 3 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/recipes/freenx/nxcompsh/iostream.patch b/recipes/freenx/nxcompsh/iostream.patch
new file mode 100644
index 0000000..2326fc5
--- /dev/null
+++ b/recipes/freenx/nxcompsh/iostream.patch
@@ -0,0 +1,14 @@
+Index: nxcompsh/Misc.h
+===================================================================
+--- nxcompsh.orig/Misc.h
++++ nxcompsh/Misc.h
+@@ -18,7 +18,8 @@
+ #ifndef Misc_H
+ #define Misc_H
+ 
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+ 
+ #include <errno.h>
+ #include <string.h>
diff --git a/recipes/freenx/nxcompsh_3.4.0-2.bb b/recipes/freenx/nxcompsh_3.4.0-2.bb
new file mode 100644
index 0000000..dd44c29
--- /dev/null
+++ b/recipes/freenx/nxcompsh_3.4.0-2.bb
@@ -0,0 +1,33 @@
+LICENSE = "GPL"
+
+SRC_URI = "http://64.34.161.181/download/3.4.0/sources/${PN}-${PV}.tar.gz \
+           file://iostream.patch \
+           "
+
+SRC_URI[md5sum] = "f94501249ad7d4453524f88ef0cfb1ff"
+SRC_URI[sha256sum] = "d6d29c59f070ea1ff65901a33e2013902abb3765dc6a8858f5bd6d09eccb6bf0"
+
+S = "${WORKDIR}/${PN}"
+
+inherit autotools
+
+do_install () {
+        oe_runmake "bindir=${D}${bindir}" \
+                   "man1dir=${D}${mandir}" \
+                   install
+
+        install -p ${S}/Connector.h ${STAGING_INCDIR}
+        install -p ${S}/Dispatcher.h ${STAGING_INCDIR}
+        install -p ${S}/Display.h ${STAGING_INCDIR}
+        install -p ${S}/Event.h ${STAGING_INCDIR}
+        install -p ${S}/Listener.h ${STAGING_INCDIR}
+        install -p ${S}/Logger.h ${STAGING_INCDIR}
+        install -p ${S}/Misc.h ${STAGING_INCDIR}
+        install -p ${S}/Process.h ${STAGING_INCDIR}
+        install -p ${S}/Request.h ${STAGING_INCDIR}
+        install -p ${S}/Runnable.h ${STAGING_INCDIR}
+        install -p ${S}/Socket.h ${STAGING_INCDIR}
+        install -p ${S}/System.h ${STAGING_INCDIR}
+        install -p ${S}/Timestamp.h ${STAGING_INCDIR}
+	install -p ${S}/libXcompsh* ${STAGING_LIBDIR}
+}
diff --git a/recipes/freenx/nxcompshad_3.4.0-3.bb b/recipes/freenx/nxcompshad_3.4.0-3.bb
new file mode 100644
index 0000000..2c337c7
--- /dev/null
+++ b/recipes/freenx/nxcompshad_3.4.0-3.bb
@@ -0,0 +1,17 @@
+LICENSE = "GPL"
+
+SRC_URI = "http://64.34.161.181/download/3.4.0/sources/${PN}-${PV}.tar.gz \
+           "
+
+SRC_URI[md5sum] = "15deba68e12e13b524a723b49e7ec813"
+SRC_URI[sha256sum] = "8c5a67ea156afb0fb2a50adbb89b8b26b6f0860cf3f53c45eb53f59ec4deaa98"
+
+S = "${WORKDIR}/${PN}"
+
+inherit autotools
+
+do_install () {
+        oe_runmake "bindir=${D}${bindir}" \
+                   "man1dir=${D}${mandir}" \
+                   install
+}





More information about the Openembedded-commits mailing list