blob: 85c0d56159028576d9ce85c41e27a9dada1fb783 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001DEPENDS = "curl db zlib"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002RDEPENDS_${PN} = "dpkg bash debianutils"
3require apt.inc
4
5require apt-package.inc
6
7PACKAGECONFIG ??= "lzma"
8PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010
11FILES_${PN} += "${bindir}/apt-key"
12apt-manpages += "doc/apt-key.8"
13
14do_install_append() {
15 #Write the correct apt-architecture to apt.conf
16 APT_CONF=${D}/etc/apt/apt.conf
17 echo 'APT::Architecture "${DPKG_ARCH}";' > ${APT_CONF}
18 oe_libinstall -so -C bin libapt-private ${D}${libdir}/
19}