summaryrefslogtreecommitdiff
path: root/packages/apt/apt-package.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/apt/apt-package.inc')
-rw-r--r--packages/apt/apt-package.inc52
1 files changed, 26 insertions, 26 deletions
diff --git a/packages/apt/apt-package.inc b/packages/apt/apt-package.inc
index a3ccc82e01..03d64155c1 100644
--- a/packages/apt/apt-package.inc
+++ b/packages/apt/apt-package.inc
@@ -47,9 +47,9 @@ def get_commands_apt_doc(d, bb, manpages):
dest = get_files_apt_doc(d, bb, m)
dir = os.path.dirname(dest)
if not dir in __dir_cache__:
- s.append("install -d ${D}/%s" % dir)
+ s.append("install -d ${D}%s" % dir)
__dir_cache__.append(dir)
- s.append("install -m 0644 %s ${D}/%s" % (m, dest))
+ s.append("install -m 0644 %s ${D}%s" % (m, dest))
return "\n".join(s)
PACKAGES += "${PN}-utils ${PN}-utils-doc"
@@ -67,33 +67,33 @@ FILES_${PN}-dev = "${libdir}/libapt*.so"
do_install () {
${@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 -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}/
+ install -m 0755 bin/apt-sortpkgs ${D}${bindir}/
+ install -m 0755 bin/apt-extracttemplates ${D}${bindir}/
- oe_libinstall -so -C bin libapt-pkg--6 ${D}/${libdir}/
- ln -sf libapt-pkg--6.so ${D}/${libdir}/libapt-pkg.so
- oe_libinstall -so -C bin libapt-inst--6 ${D}/${libdir}/
- ln -sf libapt-inst--6.so ${D}/${libdir}/libapt-inst.so
+ oe_libinstall -so -C bin libapt-pkg--6 ${D}${libdir}/
+ ln -sf libapt-pkg--6.so ${D}${libdir}/libapt-pkg.so
+ oe_libinstall -so -C bin libapt-inst--6 ${D}${libdir}/
+ ln -sf libapt-inst--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}/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}${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/
+ 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/
}