summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-03-10 08:19:11 +0000
committerJohn Lee <john_lee@openmoko.org>2008-03-10 08:19:11 +0000
commit8a5c4a43744c834f3522783c9ad5908bbb2ec890 (patch)
tree29f3fa2e9fb65dc12436178b9e7bb9c008ae42d8
parentd1ec815bd710500392389fc8b249db3dfa058278 (diff)
packagekit: add recipe for packagekit
* 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.
-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/"