diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt_1.0.10.1.bb')
-rw-r--r-- | meta/recipes-devtools/apt/apt_1.0.10.1.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt_1.0.10.1.bb b/meta/recipes-devtools/apt/apt_1.0.10.1.bb new file mode 100644 index 0000000000..bf77e2a301 --- /dev/null +++ b/meta/recipes-devtools/apt/apt_1.0.10.1.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DEPENDS = "curl db" | ||
2 | RDEPENDS_${PN} = "dpkg bash debianutils" | ||
3 | require apt.inc | ||
4 | |||
5 | require apt-package.inc | ||
6 | |||
7 | PACKAGECONFIG ??= "lzma" | ||
8 | PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz" | ||
9 | |||
10 | FILES_${PN} += "${bindir}/apt-key" | ||
11 | apt-manpages += "doc/apt-key.8" | ||
12 | |||
13 | do_install_append() { | ||
14 | #Write the correct apt-architecture to apt.conf | ||
15 | APT_CONF=${D}/etc/apt/apt.conf | ||
16 | echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF} | ||
17 | oe_libinstall -so -C bin libapt-private ${D}${libdir}/ | ||
18 | } | ||