diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-02-23 20:14:07 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-02-23 20:14:07 -0500 |
commit | 072d455056c8f6a9c178e69bc6410b199bdc9d27 (patch) | |
tree | caafdd6d624b996079a7802505e0850c3005626f /packages/dpkg/dpkg-native.inc | |
parent | e5b84280202ad89f085f42862598d4ba9cf35e92 (diff) |
dpkg-native: Add dpkg-native.inc, set PERL_LIBDIR, fixup dpkg-architecture, bump PRs.
Setting PERL_LIBDIR means that Dpkg.pm, etc, get put into the searchpath of
perl-native now. Force dpkg-architecture to call our perl not host. We also
didn't have a consistent set of DEPENDS but we should have.
Diffstat (limited to 'packages/dpkg/dpkg-native.inc')
-rw-r--r-- | packages/dpkg/dpkg-native.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/dpkg/dpkg-native.inc b/packages/dpkg/dpkg-native.inc new file mode 100644 index 0000000000..5d14527341 --- /dev/null +++ b/packages/dpkg/dpkg-native.inc @@ -0,0 +1,24 @@ +require dpkg.inc + +inherit native + +DEPENDS = "bzip2-native zlib-native virtual/update-alternatives-native" + +SRC_URI += "file://noman.patch;patch=1" +FILESPATH += "dpkg-${PV}" + +PERL_LIBDIR = "${STAGING_LIBDIR}/perl" + +EXTRA_OECONF = "--without-static-progs \ + --without-dselect \ + --with-start-stop-daemon \ + --with-zlib \ + --with-bz2lib \ + --without-selinux \ + --without-sgml-doc" + +do_stage_append() { + for BIN in dpkg-architecture; do + sed -i -e '1s,^#.*usr/bin,#!${STAGING_BINDIR},' ${STAGING_BINDIR}/$BIN + done +} |