Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Advanced front-end for dpkg" |
| 2 | LICENSE = "GPLv2.0+" |
| 3 | SECTION = "base" |
| 4 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 5 | 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] | 6 | file://use-host.patch \ |
| 7 | file://makerace.patch \ |
| 8 | file://no-nls-dpkg.patch \ |
| 9 | file://fix-gcc-4.6-null-not-defined.patch \ |
| 10 | file://truncate-filename.patch \ |
| 11 | file://nodoc.patch \ |
| 12 | file://disable-configure-in-makefile.patch \ |
| 13 | file://disable-test.patch \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 14 | file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 15 | file://0001-apt-1.2.12-Fix-musl-build.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | file://0001-Include-array.h-for-std-array.patch \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | " |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | SRC_URI[md5sum] = "ce8f9ab11f4fd0a08ec73eaffd75c8f0" |
| 19 | SRC_URI[sha256sum] = "fa1311a9ce00e72379a0a3bc6d240ba30c0968cfbbb3472859e50b99e24e9598" |
| 20 | LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 22 | # the package is taken from snapshots.debian.org; that source is static and goes stale |
| 23 | # so we check the latest upstream from a directory that does get updated |
| 24 | UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/" |
| 25 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 26 | inherit autotools gettext useradd |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | |
| 28 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" |
| 29 | |
| 30 | do_configure_prepend() { |
| 31 | rm -rf ${S}/buildlib/config.sub |
| 32 | rm -rf ${S}/buildlib/config.guess |
| 33 | } |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 34 | |
| 35 | USERADD_PACKAGES = "${PN}" |
| 36 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt" |