busybox: enable mkfs.vfat
[openembedded.git] / recipes / packagekit / packagekit_0.4.6.bb
1 DESCRIPTION = "PackageKit package management abstraction"
2 SECTION = "libs"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "gtk+ python cppunit policykit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
6 RDEPENDS_${PN} = "${IPKG_VARIANT}"
7
8 inherit gnome autotools_stage
9
10 SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
11            file://no_validate.patch;patch=1 \
12            file://opkg-fix-includes.diff;patch=1 \
13            file://opkg-fix-declarations.diff;patch=1 "
14
15 PR = "r2"
16 PE = "1"
17
18 S = "${WORKDIR}/PackageKit-${PV}"
19
20 EXTRA_OECONF = "--with-security-framework=dummy \
21                 --with-default-backend=opkg \
22                 --enable-opkg \
23                 --disable-tests \
24                 --disable-qt \
25                 --disable-gstreamer-plugin \
26                 --disable-local  \
27                 ac_cv_path_XMLTO=no \
28                 "
29
30
31 do_configure_prepend() {
32         mkdir -p m4
33         echo "EXTRA_DIST=" > gtk-doc.make
34         sed -i -e s:0\.1\.5:0\.1\.6:g -e /Werror/d configure.ac
35 }
36
37 do_configure_append() {
38         for i in $(find . -name Makefile) ; do
39                 sed -i -e s:${STAGING_DIR_NATIVE}::g \
40                -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
41                -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
42         $i
43         done
44 }
45
46
47 PACKAGES =+ "${PN}-website"
48 FILES_${PN}-website = "${datadir}/PackageKit/website"
49
50 PACKAGES =+ "${PN}-python"
51 FILES_${PN}-python = "${libdir}/python*"
52
53 PACKAGES =+ "${PN}-gtkmodule"
54 FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
55
56 FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
57 FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
58 FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"
59
60
61