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