diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-devtools/apt/apt.inc | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r-- | meta/recipes-devtools/apt/apt.inc | 38 |
1 files changed, 38 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..378021a327 --- /dev/null +++ b/meta/recipes-devtools/apt/apt.inc | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Advanced front-end for dpkg" | ||
2 | LICENSE = "GPLv2.0+" | ||
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 | 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 | file://apt-0.9.9.4-CVE-2014-0478.patch \ | ||
15 | " | ||
16 | |||
17 | inherit autotools gettext | ||
18 | |||
19 | EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | rm -rf ${S}/buildlib/config.sub | ||
23 | rm -rf ${S}/buildlib/config.guess | ||
24 | } | ||
25 | |||
26 | # Apt wants to know the glibc version by running a binary file, which will | ||
27 | # fail, so we have to tell configure which version to use Since I don't know | ||
28 | # the impliations of setting a wrong value I only provide one for angstrom, | ||
29 | # which uses glibc 2.5 (which claims to be 2.4) | ||
30 | # Koen - 20070327 | ||
31 | EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4" | ||
32 | |||
33 | # under Debian it is set to libc6.3 as they use glibc 2.3 | ||
34 | # They also provide glibc 2.5 in 'experimental' and it works with APT built | ||
35 | # for 2.3 so we set it in same way | ||
36 | EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3" | ||
37 | |||
38 | FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/" | ||