From ceb58d469203926cd336c1e317d67273dfc670d8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 16 Jul 2009 12:09:29 +0100 Subject: Add syncevoltion, libsynthesis --- .../libsynthesis/libsynthesis/addpkgconfig.patch | 38 ++++++++++++++++++++++ .../packages/libsynthesis/libsynthesis_git.bb | 19 +++++++++++ 2 files changed, 57 insertions(+) create mode 100644 meta-moblin/packages/libsynthesis/libsynthesis/addpkgconfig.patch create mode 100644 meta-moblin/packages/libsynthesis/libsynthesis_git.bb (limited to 'meta-moblin/packages/libsynthesis') 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} +} + -- cgit v1.2.3