Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Advanced front-end for dpkg" |
Brad Bishop | f3f93bb | 2019-10-16 14:33:32 -0400 | [diff] [blame] | 2 | DESCRIPTION = "Provides command-line tools for searching and managing as well \ |
| 3 | as querying information about packages as a low-level access to all features \ |
| 4 | of the libapt-pkg library." |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | LICENSE = "GPLv2.0+" |
| 6 | SECTION = "base" |
| 7 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 8 | SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${BPN}/${PV}/${BPN}_${PV}.tar.xz \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | file://use-host.patch \ |
| 10 | file://makerace.patch \ |
| 11 | file://no-nls-dpkg.patch \ |
| 12 | file://fix-gcc-4.6-null-not-defined.patch \ |
| 13 | file://truncate-filename.patch \ |
| 14 | file://nodoc.patch \ |
| 15 | file://disable-configure-in-makefile.patch \ |
| 16 | file://disable-test.patch \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 18 | file://0001-apt-1.2.12-Fix-musl-build.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | file://0001-Include-array.h-for-std-array.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 20 | " |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 21 | SRC_URI[md5sum] = "d30eed9304e82ea8238c854b5c5a34d9" |
| 22 | SRC_URI[sha256sum] = "03ded4f5e9b8d43ecec083704b2dcabf20c182ed382db9ac7251da0b0b038059" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | # the package is taken from snapshots.debian.org; that source is static and goes stale |
| 26 | # so we check the latest upstream from a directory that does get updated |
| 27 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/" |
| 28 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 29 | inherit autotools gettext useradd |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
| 31 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" |
| 32 | |
| 33 | do_configure_prepend() { |
| 34 | rm -rf ${S}/buildlib/config.sub |
| 35 | rm -rf ${S}/buildlib/config.guess |
| 36 | } |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 37 | |
| 38 | USERADD_PACKAGES = "${PN}" |
| 39 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt" |