Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | DEPENDS = "curl db zlib" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | |
| 11 | FILES_${PN} += "${bindir}/apt-key" |
| 12 | apt-manpages += "doc/apt-key.8" |
| 13 | |
| 14 | do_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 | } |