busybox: enable mkfs.vfat
[openembedded.git] / recipes / packagekit / packagekit_0.5.2.bb
1 DESCRIPTION = "PackageKit package management abstraction"
2 SECTION = "libs"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "gtk+ python cppunit 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            "
12
13 PR = "r0"
14 PE = "2"
15
16 S = "${WORKDIR}/PackageKit-${PV}"
17
18 EXTRA_OECONF = "--with-security-framework=dummy \
19                 --with-default-backend=opkg \
20                 --enable-opkg \
21                 --enable-dummy \
22                 --disable-networkmanager \
23                 --disable-connman \
24                 --disable-tests \
25                 --disable-qt \
26                 --disable-gstreamer-plugin \
27                 --disable-local  \
28                 --disable-strict \
29                 ac_cv_path_XMLTO=no \
30                 "
31
32
33 do_configure_prepend() {
34         mkdir -p m4
35         echo "EXTRA_DIST=" > gtk-doc.make
36         sed -i -e s:0\.1\.5:0\.1\.6:g configure.ac
37 }
38
39 do_configure_append() {
40         for i in $(find . -name Makefile) ; do
41                 sed -i -e s:${STAGING_DIR_NATIVE}::g \
42                -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
43                -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
44         $i
45         done
46 }
47
48
49 PACKAGES =+ "${PN}-website"
50 FILES_${PN}-website = "${datadir}/PackageKit/website"
51
52 PACKAGES =+ "${PN}-python"
53 FILES_${PN}-python = "${libdir}/python*"
54
55 PACKAGES =+ "${PN}-gtkmodule"
56 FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
57
58 FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
59 FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
60 FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"