summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/libsynthesis
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-16 12:09:29 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-16 12:09:29 +0100
commitceb58d469203926cd336c1e317d67273dfc670d8 (patch)
tree5f3418b5d323f75a0b0b716e02cdd6aed1998d27 /meta-moblin/packages/libsynthesis
parentd4d60b9ad9b3c16e1f795e8eb8c6996dca4553e7 (diff)
downloadopenembedded-core-ceb58d469203926cd336c1e317d67273dfc670d8.tar.gz
openembedded-core-ceb58d469203926cd336c1e317d67273dfc670d8.tar.bz2
openembedded-core-ceb58d469203926cd336c1e317d67273dfc670d8.zip
Add syncevoltion, libsynthesis
Diffstat (limited to 'meta-moblin/packages/libsynthesis')
-rw-r--r--meta-moblin/packages/libsynthesis/libsynthesis/addpkgconfig.patch38
-rw-r--r--meta-moblin/packages/libsynthesis/libsynthesis_git.bb19
2 files changed, 57 insertions, 0 deletions
diff --git a/meta-moblin/packages/libsynthesis/libsynthesis/addpkgconfig.patch b/meta-moblin/packages/libsynthesis/libsynthesis/addpkgconfig.patch
new file mode 100644
index 0000000000..1f5bbbb0e4
--- /dev/null
+++ b/meta-moblin/packages/libsynthesis/libsynthesis/addpkgconfig.patch
@@ -0,0 +1,38 @@
+Index: git/configure.in
+===================================================================
+--- git.orig/configure.in 2009-07-16 11:10:03.000000000 +0100
++++ git/configure.in 2009-07-16 11:10:46.000000000 +0100
+@@ -106,5 +106,5 @@
+ fi
+ AM_CONDITIONAL([COND_STATIC], [test "$enable_shared" = "no"])
+
+-AC_CONFIG_FILES(Makefile src/Makefile)
++AC_CONFIG_FILES(Makefile src/Makefile synthesis.pc)
+ AC_OUTPUT
+Index: git/synthesis.pc.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ git/synthesis.pc.in 2009-07-16 11:11:48.000000000 +0100
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: synthesis
++Description: Synthesis SyncML Client Library
++Version: @VERSION@
++Libs: -L${libdir} -lsynthesis -lsynthesissdk
++Cflags:
+Index: git/Makefile.am
+===================================================================
+--- git.orig/Makefile.am 2009-07-16 11:13:34.000000000 +0100
++++ git/Makefile.am 2009-07-16 11:14:02.000000000 +0100
+@@ -9,3 +9,6 @@
+ MAINTAINERCLEANFILES = Makefile.in config.guess config.sub configure depcomp install-sh ltmain.sh missing mkinstalldirs
+
+ ACLOCAL_AMFLAGS = -I m4
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = synthesis.pc
+\ No newline at end of file
diff --git a/meta-moblin/packages/libsynthesis/libsynthesis_git.bb b/meta-moblin/packages/libsynthesis/libsynthesis_git.bb
new file mode 100644
index 0000000000..e4fffc0cc7
--- /dev/null
+++ b/meta-moblin/packages/libsynthesis/libsynthesis_git.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Synthesis SyncML Engine"
+SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
+ file://addpkgconfig.patch;patch=1"
+LICENSE = "LGPLv2.1"
+PV = "0.0+git${SRCPV}"
+PR = "r0"
+
+DEPENDS = "libpcre"
+
+S = "${WORKDIR}/git"
+
+inherit autotools_stage
+
+do_configure_prepend () {
+ cd ${S}/src
+ ${S}/src/gen-makefile-am.sh
+ cd ${S}
+}
+