From 072d455056c8f6a9c178e69bc6410b199bdc9d27 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 23 Feb 2009 20:14:07 -0500 Subject: 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. --- packages/dpkg/dpkg-native.inc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/dpkg/dpkg-native.inc (limited to 'packages/dpkg/dpkg-native.inc') 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 +} -- cgit v1.2.3