summaryrefslogtreecommitdiff
path: root/packages/dpkg/dpkg-native.inc
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2009-02-24 09:36:26 -0500
committerCliff Brake <cbrake@bec-systems.com>2009-02-24 09:36:26 -0500
commitcdbe198009d0b73bca24ae7aada4401ae2f0b630 (patch)
tree5325d3a2d3790616b37a37d3ec063d4a5163573c /packages/dpkg/dpkg-native.inc
parentab066eb3b73656186a445667aa4f8c46b48644b3 (diff)
parentd4ed85c5499e8eb693b7564e60d7038598659e51 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/dpkg/dpkg-native.inc')
-rw-r--r--packages/dpkg/dpkg-native.inc24
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
+}