summaryrefslogtreecommitdiff
path: root/packages/ipkg/ipkg-native_0.99.146.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ipkg/ipkg-native_0.99.146.bb')
-rw-r--r--packages/ipkg/ipkg-native_0.99.146.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ipkg/ipkg-native_0.99.146.bb b/packages/ipkg/ipkg-native_0.99.146.bb
index e69de29bb2..8886d44679 100644
--- a/packages/ipkg/ipkg-native_0.99.146.bb
+++ b/packages/ipkg/ipkg-native_0.99.146.bb
@@ -0,0 +1,16 @@
+SECTION = "base"
+include ipkg_${PV}.bb
+
+# NOTE: ipkg now obeys ${libdir}, so ipkg-native now installs
+# things into the wrong location inside of offline_root. Backup
+# the target libdir and use that.
+target_libdir := "${libdir}"
+DEFAULT_PREFERENCE=-1
+
+inherit native
+
+EXTRA_OECONF += "--with-ipkgdir=${target_libdir}/ipkg"
+
+DEPENDS = "libtool-native automake-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ipkg-${PV}"
+PROVIDES = ""