blob: 302637084440ded8ede6ece4a8d3d5b9ac76ea1f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Advanced front-end for dpkg"
2LICENSE = "GPLv2.0+"
3SECTION = "base"
4
Patrick Williamsc0f7c042017-02-23 20:41:17 -06005SRC_URI = "http://snapshot.debian.org/archive/debian/20160526T162943Z/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006 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 Williamsd8c66bc2016-06-20 12:57:21 -050014 file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015 file://0001-apt-1.2.12-Fix-musl-build.patch \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016 "
Patrick Williamsc0f7c042017-02-23 20:41:17 -060017SRC_URI[md5sum] = "80f6f0ef110a45a7e5af8a9d233fb0e7"
18SRC_URI[sha256sum] = "e820d27cba73476df4abcff27dadd1b5847474bfe85f7e9202a9a07526973ea6"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
20
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050021# the package is taken from snapshots.debian.org; that source is static and goes stale
22# so we check the latest upstream from a directory that does get updated
23UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/"
24
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025inherit autotools gettext useradd
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
27EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
28
29do_configure_prepend() {
30 rm -rf ${S}/buildlib/config.sub
31 rm -rf ${S}/buildlib/config.guess
32}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060033
34USERADD_PACKAGES = "${PN}"
35USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt"