apt.inc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. SUMMARY = "Advanced front-end for dpkg"
  2. DESCRIPTION = "Provides commandline 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."
  5. LICENSE = "GPLv2.0+"
  6. SECTION = "base"
  7. SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${BPN}/${PV}/${BPN}_${PV}.tar.xz \
  8. file://use-host.patch \
  9. file://makerace.patch \
  10. file://no-nls-dpkg.patch \
  11. file://fix-gcc-4.6-null-not-defined.patch \
  12. file://truncate-filename.patch \
  13. file://nodoc.patch \
  14. file://disable-configure-in-makefile.patch \
  15. file://disable-test.patch \
  16. file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \
  17. file://0001-apt-1.2.12-Fix-musl-build.patch \
  18. file://0001-Include-array.h-for-std-array.patch \
  19. "
  20. SRC_URI[md5sum] = "d30eed9304e82ea8238c854b5c5a34d9"
  21. SRC_URI[sha256sum] = "03ded4f5e9b8d43ecec083704b2dcabf20c182ed382db9ac7251da0b0b038059"
  22. LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
  23. # the package is taken from snapshots.debian.org; that source is static and goes stale
  24. # so we check the latest upstream from a directory that does get updated
  25. UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/"
  26. inherit autotools gettext useradd
  27. EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
  28. do_configure_prepend() {
  29. rm -rf ${S}/buildlib/config.sub
  30. rm -rf ${S}/buildlib/config.guess
  31. }
  32. USERADD_PACKAGES = "${PN}"
  33. USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt"