summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-10-03 17:59:58 +0000
committerKoen Kooi <koen@openembedded.org>2006-10-03 17:59:58 +0000
commit43997e7f37e90c85f68e56d89479ddf7eab1d998 (patch)
tree8943599de82dd80bbc21a8e128c44b2e0bf8bc61 /packages
parent4b7d466fa0ed0f88f14dd381d4e00276fa3ae83e (diff)
apt: update to 0.6.46, hack do_install to work around missing .so files
* not tested on device
Diffstat (limited to 'packages')
-rw-r--r--packages/apt/apt-0.6.46/.mtn2git_empty (renamed from packages/apt/apt-0.6.45exp2/.mtn2git_empty)0
-rw-r--r--packages/apt/apt-0.6.46/autofoo.patch (renamed from packages/apt/apt-0.6.45exp2/autofoo.patch)0
-rw-r--r--packages/apt/apt-0.6.46/noconfigure.patch (renamed from packages/apt/apt-0.6.45exp2/noconfigure.patch)0
-rw-r--r--packages/apt/apt-0.6.46/nodoc.patch (renamed from packages/apt/apt-0.6.45exp2/nodoc.patch)0
-rw-r--r--packages/apt/apt-native_0.6.46.bb (renamed from packages/apt/apt-native_0.6.45exp2.bb)0
-rw-r--r--packages/apt/apt_0.6.45exp2.bb9
-rw-r--r--packages/apt/apt_0.6.46.bb43
7 files changed, 43 insertions, 9 deletions
diff --git a/packages/apt/apt-0.6.45exp2/.mtn2git_empty b/packages/apt/apt-0.6.46/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/apt/apt-0.6.45exp2/.mtn2git_empty
+++ b/packages/apt/apt-0.6.46/.mtn2git_empty
diff --git a/packages/apt/apt-0.6.45exp2/autofoo.patch b/packages/apt/apt-0.6.46/autofoo.patch
index 74d787cefd..74d787cefd 100644
--- a/packages/apt/apt-0.6.45exp2/autofoo.patch
+++ b/packages/apt/apt-0.6.46/autofoo.patch
diff --git a/packages/apt/apt-0.6.45exp2/noconfigure.patch b/packages/apt/apt-0.6.46/noconfigure.patch
index 682a96da24..682a96da24 100644
--- a/packages/apt/apt-0.6.45exp2/noconfigure.patch
+++ b/packages/apt/apt-0.6.46/noconfigure.patch
diff --git a/packages/apt/apt-0.6.45exp2/nodoc.patch b/packages/apt/apt-0.6.46/nodoc.patch
index 9101847189..9101847189 100644
--- a/packages/apt/apt-0.6.45exp2/nodoc.patch
+++ b/packages/apt/apt-0.6.46/nodoc.patch
diff --git a/packages/apt/apt-native_0.6.45exp2.bb b/packages/apt/apt-native_0.6.46.bb
index 43f73889f7..43f73889f7 100644
--- a/packages/apt/apt-native_0.6.45exp2.bb
+++ b/packages/apt/apt-native_0.6.46.bb
diff --git a/packages/apt/apt_0.6.45exp2.bb b/packages/apt/apt_0.6.45exp2.bb
deleted file mode 100644
index 1cd8eb270e..0000000000
--- a/packages/apt/apt_0.6.45exp2.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require apt.inc
-
-SRC_URI += "file://autofoo.patch;patch=1 \
- file://nodoc.patch;patch=1"
-
-require apt-package.inc
-
-FILES_${PN} += "${bindir}/apt-key"
-apt-manpages += "doc/apt-key.8"
diff --git a/packages/apt/apt_0.6.46.bb b/packages/apt/apt_0.6.46.bb
new file mode 100644
index 0000000000..6d21638118
--- /dev/null
+++ b/packages/apt/apt_0.6.46.bb
@@ -0,0 +1,43 @@
+require apt.inc
+
+require apt-package.inc
+
+FILES_${PN} += "${bindir}/apt-key"
+apt-manpages += "doc/apt-key.8"
+
+do_install () {
+ set -x
+ ${@get_commands_apt_doc(d, bb, bb.data.getVar('apt-manpages', d, 1))}
+ ${@get_commands_apt_doc(d, bb, bb.data.getVar('apt-utils-manpages', d, 1))}
+ install -d ${D}${bindir}
+ install -m 0755 bin/apt-cdrom ${D}${bindir}/
+ install -m 0755 bin/apt-get ${D}${bindir}/
+ install -m 0755 bin/apt-config ${D}${bindir}/
+ install -m 0755 bin/apt-cache ${D}${bindir}/
+
+ install -m 0755 bin/apt-sortpkgs ${D}${bindir}/
+ install -m 0755 bin/apt-extracttemplates ${D}${bindir}/
+
+ eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'`
+ oe_libinstall -a -C bin libapt-pkg ${D}${libdir}/
+ ln -sf libapt-pkg$GLIBC_VER-6.so ${D}${libdir}/libapt-pkg.so
+ oe_libinstall -a -C bin libapt-inst ${D}${libdir}/
+ ln -sf libapt-inst$GLIBC_VER-6.so ${D}${libdir}/libapt-inst.so
+
+ install -d ${D}${libdir}/apt/methods
+ install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/
+
+ install -d ${D}${libdir}/dpkg/methods/apt
+ install -m 0644 dselect/desc.apt ${D}${libdir}/dpkg/methods/apt/
+ install -m 0644 dselect/names ${D}${libdir}/dpkg/methods/apt/
+ install -m 0755 dselect/install ${D}${libdir}/dpkg/methods/apt/
+ install -m 0755 dselect/setup ${D}${libdir}/dpkg/methods/apt/
+ install -m 0755 dselect/update ${D}${libdir}/dpkg/methods/apt/
+
+ install -d ${D}${sysconfdir}/apt
+ install -d ${D}${localstatedir}/lib/apt/lists/partial
+ install -d ${D}${localstatedir}/cache/apt/archives/partial
+ install -d ${D}${docdir}/apt/examples
+ install -m 0644 doc/examples/* ${D}${docdir}/apt/examples/
+}
+