diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r-- | meta/recipes-devtools/apt/apt.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc new file mode 100644 index 0000000000..546683f9bc --- /dev/null +++ b/meta/recipes-devtools/apt/apt.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "Advanced front-end for dpkg." | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "base" | ||
4 | |||
5 | SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \ | ||
6 | file://no-ko-translation.patch \ | ||
7 | file://use-host.patch \ | ||
8 | " | ||
9 | |||
10 | inherit autotools gettext | ||
11 | |||
12 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" | ||
13 | |||
14 | # Apt wants to know the glibc version by running a binary file, which will | ||
15 | # fail, so we have to tell configure which version to use Since I don't know | ||
16 | # the impliations of setting a wrong value I only provide one for angstrom, | ||
17 | # which uses glibc 2.5 (which claims to be 2.4) | ||
18 | # Koen - 20070327 | ||
19 | EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4" | ||
20 | |||
21 | # under Debian it is set to libc6.3 as they use glibc 2.3 | ||
22 | # They also provide glibc 2.5 in 'experimental' and it works with APT built | ||
23 | # for 2.3 so we set it in same way | ||
24 | EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3" | ||
25 | |||
26 | FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/" | ||