summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r--meta/recipes-devtools/apt/apt.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
new file mode 100644
index 0000000..b528c00
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -0,0 +1,37 @@
1SUMMARY = "Advanced front-end for dpkg"
2LICENSE = "GPLv2.0+"
3SECTION = "base"
4
5SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
6 file://no-ko-translation.patch \
7 file://use-host.patch \
8 file://makerace.patch \
9 file://no-nls-dpkg.patch \
10 file://fix-gcc-4.6-null-not-defined.patch \
11 file://truncate-filename.patch \
12 file://nodoc.patch \
13 file://disable-configure-in-makefile.patch \
14 "
15
16inherit autotools gettext
17
18EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
19
20do_configure_prepend() {
21 rm -rf ${S}/buildlib/config.sub
22 rm -rf ${S}/buildlib/config.guess
23}
24
25# Apt wants to know the glibc version by running a binary file, which will
26# fail, so we have to tell configure which version to use Since I don't know
27# the impliations of setting a wrong value I only provide one for angstrom,
28# which uses glibc 2.5 (which claims to be 2.4)
29# Koen - 20070327
30EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4"
31
32# under Debian it is set to libc6.3 as they use glibc 2.3
33# They also provide glibc 2.5 in 'experimental' and it works with APT built
34# for 2.3 so we set it in same way
35EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3"
36
37FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/"