summaryrefslogtreecommitdiff
path: root/recipes/packagekit/packagekit_0.4.5.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-03-28 13:11:44 +0100
committerKoen Kooi <koen@openembedded.org>2009-03-28 13:11:44 +0100
commit5554bd6fde6b7cbd71543f18ead848a0ab965706 (patch)
tree5ba650361c92079b75009a019b20797dc24d0572 /recipes/packagekit/packagekit_0.4.5.bb
parent9d5b227e6707347381884e1195077b2e5b6be9c9 (diff)
packagekit: add 0.4.5
Diffstat (limited to 'recipes/packagekit/packagekit_0.4.5.bb')
-rw-r--r--recipes/packagekit/packagekit_0.4.5.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/recipes/packagekit/packagekit_0.4.5.bb b/recipes/packagekit/packagekit_0.4.5.bb
new file mode 100644
index 0000000000..89f4614cfd
--- /dev/null
+++ b/recipes/packagekit/packagekit_0.4.5.bb
@@ -0,0 +1,57 @@
+DESCRIPTION = "PackageKit package management abstraction"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "gtk+ python cppunit policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
+RDEPENDS_${PN} = "opkg"
+
+SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
+ file://no_validate.patch;patch=1 \
+ file://opkg-fix-includes.diff;patch=1 \
+ file://opkg-fix-declarations.diff;patch=1 "
+
+PE = "1"
+
+S = "${WORKDIR}/PackageKit-${PV}"
+
+inherit gnome autotools_stage
+
+EXTRA_OECONF = "--with-security-framework=dummy \
+ --with-default-backend=opkg \
+ --enable-opkg \
+ --disable-tests \
+ --disable-qt \
+ --disable-gstreamer-plugin \
+ --disable-local \
+ ac_cv_path_XMLTO=no \
+ "
+
+
+do_configure_prepend() {
+ mkdir -p m4
+ echo "EXTRA_DIST=" > gtk-doc.make
+ sed -i -e s:0\.1\.5:0\.1\.6:g -e /Werror/d configure.ac
+}
+
+do_configure_append() {
+ for i in $(find . -name Makefile) ; do
+ sed -i -e s:${STAGING_DIR_NATIVE}::g -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g $i
+ done
+}
+
+
+PACKAGES =+ "${PN}-website"
+FILES_${PN}-website = "${datadir}/PackageKit/website"
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${libdir}/python*"
+
+PACKAGES =+ "${PN}-gtkmodule"
+FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
+
+FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit"
+FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
+FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"
+
+
+