summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/packagekit/.mtn2git_empty0
-rw-r--r--packages/packagekit/files/.mtn2git_empty0
-rw-r--r--packages/packagekit/files/disable-docbook2man.patch12
-rw-r--r--packages/packagekit/packagekit_git.bb27
4 files changed, 39 insertions, 0 deletions
diff --git a/packages/packagekit/.mtn2git_empty b/packages/packagekit/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/packagekit/.mtn2git_empty
diff --git a/packages/packagekit/files/.mtn2git_empty b/packages/packagekit/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/packagekit/files/.mtn2git_empty
diff --git a/packages/packagekit/files/disable-docbook2man.patch b/packages/packagekit/files/disable-docbook2man.patch
new file mode 100644
index 0000000000..0c7d4239d4
--- /dev/null
+++ b/packages/packagekit/files/disable-docbook2man.patch
@@ -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
index 0000000000..d4055ead63
--- /dev/null
+++ b/packages/packagekit/packagekit_git.bb
@@ -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/"