packagekit: add recipe for packagekit
authorJohn Lee <john_lee@openmoko.org>
Mon, 10 Mar 2008 08:19:11 +0000 (08:19 +0000)
committerJohn Lee <john_lee@openmoko.org>
Mon, 10 Mar 2008 08:19:11 +0000 (08:19 +0000)
* PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions,
and use some of the latest technology like PolicyKit to make the
process suck less.

packages/packagekit/.mtn2git_empty [new file with mode: 0644]
packages/packagekit/files/.mtn2git_empty [new file with mode: 0644]
packages/packagekit/files/disable-docbook2man.patch [new file with mode: 0644]
packages/packagekit/packagekit_git.bb [new file with mode: 0644]

diff --git a/packages/packagekit/.mtn2git_empty b/packages/packagekit/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/packagekit/files/.mtn2git_empty b/packages/packagekit/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/packagekit/files/disable-docbook2man.patch b/packages/packagekit/files/disable-docbook2man.patch
new file mode 100644 (file)
index 0000000..0c7d423
--- /dev/null
@@ -0,0 +1,12 @@
+Index: git/configure.ac
+===================================================================
+--- git.orig/configure.ac      2008-02-20 17:57:44.000000000 +0800
++++ git/configure.ac   2008-02-20 17:58:30.000000000 +0800
+@@ -115,6 +115,7 @@
+ if test "$DOCBOOK2MAN" = "no" ; then
+       AC_MSG_WARN([docbook2man not found, will not be able to build man documentation])
+       fi
++DOCBOOK2MAN="no"
+ AM_CONDITIONAL(HAVE_DOCBOOK2MAN, [test "$DOCBOOK2MAN" != "no"])
+ dnl ---------------------------------------------------------------------------
diff --git a/packages/packagekit/packagekit_git.bb b/packages/packagekit/packagekit_git.bb
new file mode 100644 (file)
index 0000000..d4055ea
--- /dev/null
@@ -0,0 +1,27 @@
+DESCRIPTION = "PackageKit package management abstraction"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool"
+RDEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 opkg"
+PV = "0.1+git${SRCREV}"
+PR = "r7"
+
+SRC_URI = "git://anongit.freedesktop.org/git/packagekit;protocol=git \
+           file://disable-docbook2man.patch;patch=1"
+
+SRCREV = "${AUTOREV}"
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-security-framework=dummy --with-default-backend=opkg --enable-opkg"
+
+do_configure_prepend() {
+        echo "EXTRA_DIST=" > gtk-doc.make
+}
+do_stage () {
+        autotools_stage_all
+}
+
+FILES_${PN} += "${libdir}/packagekit-backend/*.so ${datadir}/dbus-1/system-services/"