summaryrefslogtreecommitdiff
path: root/meta-moblin/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-02 21:40:25 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-02 21:40:25 +0000
commit63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c (patch)
treeef88f667080fd6390399e510a1952bc1e81de197 /meta-moblin/packages
parent8a7ecd59c7f7507767e238b268ead536b961632a (diff)
downloadopenembedded-core-63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c.tar.gz
openembedded-core-63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c.tar.bz2
openembedded-core-63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c.zip
Move check, policykit and xerces-c to meta-moblin
Diffstat (limited to 'meta-moblin/packages')
-rw-r--r--meta-moblin/packages/check/check_0.9.2.bb20
-rw-r--r--meta-moblin/packages/check/check_0.9.5.bb19
-rw-r--r--meta-moblin/packages/check/files/configure_fix.patch12
-rw-r--r--meta-moblin/packages/policykit/policykit_0.9.bb18
-rw-r--r--meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb36
5 files changed, 105 insertions, 0 deletions
diff --git a/meta-moblin/packages/check/check_0.9.2.bb b/meta-moblin/packages/check/check_0.9.2.bb
new file mode 100644
index 0000000000..ec7a91d206
--- /dev/null
+++ b/meta-moblin/packages/check/check_0.9.2.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "a unit test framework for C"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+SECTION = "devel"
+
+PR="r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz"
+S = "${WORKDIR}/check-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "--enable-plain-docdir"
+
+do_stage() {
+
+ install -m 0644 ${S}/src/check.h ${STAGING_INCDIR}/check.h
+ oe_libinstall -a -C src libcheck ${STAGING_LIBDIR}
+}
+
diff --git a/meta-moblin/packages/check/check_0.9.5.bb b/meta-moblin/packages/check/check_0.9.5.bb
new file mode 100644
index 0000000000..eccb8b7582
--- /dev/null
+++ b/meta-moblin/packages/check/check_0.9.5.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "a unit test framework for C"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+SECTION = "devel"
+
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
+ file://configure_fix.patch;patch=1"
+S = "${WORKDIR}/check-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--enable-plain-docdir"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/meta-moblin/packages/check/files/configure_fix.patch b/meta-moblin/packages/check/files/configure_fix.patch
new file mode 100644
index 0000000000..3e79319d80
--- /dev/null
+++ b/meta-moblin/packages/check/files/configure_fix.patch
@@ -0,0 +1,12 @@
+Index: check-0.9.5/configure.ac
+===================================================================
+--- check-0.9.5.orig/configure.ac 2008-10-29 04:09:50.000000000 +0000
++++ check-0.9.5/configure.ac 2008-10-29 04:10:06.000000000 +0000
+@@ -71,6 +71,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_LIBTOOL
++AM_PROG_CC_C_O
+ if test -n "$GCC"; then
+ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings"
+ fi
diff --git a/meta-moblin/packages/policykit/policykit_0.9.bb b/meta-moblin/packages/policykit/policykit_0.9.bb
new file mode 100644
index 0000000000..b2efd58328
--- /dev/null
+++ b/meta-moblin/packages/policykit/policykit_0.9.bb
@@ -0,0 +1,18 @@
+HOMEPAGE = "http://www.packagekit.org/"
+PR = "r4"
+
+SRC_URI = "http://hal.freedesktop.org/releases/PolicyKit-0.9.tar.gz"
+
+
+DEPENDS = "pam expat dbus-glib"
+RDEPENDS = "pam"
+EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc"
+
+S = "${WORKDIR}/PolicyKit-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb b/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb
new file mode 100644
index 0000000000..d78bb22ad9
--- /dev/null
+++ b/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
+HOMEPAGE = "http://xerces.apache.org/xerces-c/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "MIT"
+PR = "r1"
+
+SRC_URI = "http://mirror.serversupportforum.de/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz"
+S = "${WORKDIR}/xerces-c-src_2_8_0/src/xercesc"
+
+inherit autotools pkgconfig
+
+CCACHE = ""
+export XERCESCROOT="${WORKDIR}/xerces-c-src_2_8_0"
+export cross_compiling = "yes"
+
+do_configure() {
+ ./runConfigure -plinux -c"${CC}" -x"${CXX}" -minmem -nsocket -tnative -rpthread -P${D}${prefix} \
+ -C--build=${BUILD_SYS} \
+ -C--host=${HOST_SYS} \
+ -C--target=${TARGET_SYS} \
+}
+
+do_compile() {
+ ${MAKE}
+}
+
+do_stage () {
+ oe_libinstall -C ${XERCESCROOT}/lib libxerces-c ${STAGING_LIBDIR}
+ oe_libinstall -C ${XERCESCROOT}/lib libxerces-depdom ${STAGING_LIBDIR}
+ cp -pPR ${XERCESCROOT}/include/xercesc ${STAGING_INCDIR}
+}
+
+do_install () {
+ ${MAKE} install
+}