surpport seeking the recorded video
[vuplus_openembedded] / recipes / dpkg / dpkg-native.inc
1 require dpkg.inc
2
3 inherit native
4
5 DEPENDS = "perl-native bzip2-native zlib-native virtual/update-alternatives-native"
6 RDEPENDS = ""
7
8 SRC_URI += "file://noman.patch;patch=1"
9 FILESPATH += "dpkg-${PV}"
10
11 # We need to do this so our perl is picked up.
12 do_configure_prepend() {
13         export PERL=${STAGING_BINDIR}/perl
14 }
15
16 EXTRA_OECONF = "--without-static-progs \
17                 --without-dselect \
18                 --with-start-stop-daemon \
19                 --with-zlib \
20                 --with-bz2lib \
21                 --without-selinux \
22                 --without-sgml-doc"
23
24 do_stage_append() {
25         for BIN in dpkg-architecture; do
26                 sed -i -e '1s,^#.*usr/bin,#!${STAGING_BINDIR},' ${STAGING_BINDIR}/$BIN
27         done
28 }