summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libtar
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libtar')
-rw-r--r--meta-oe/recipes-support/libtar/files/0002-Do-not-strip-libtar.patch25
-rw-r--r--meta-oe/recipes-support/libtar/files/fix_libtool_sysroot.patch19
-rw-r--r--meta-oe/recipes-support/libtar/libtar_1.2.20.bb21
3 files changed, 65 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libtar/files/0002-Do-not-strip-libtar.patch b/meta-oe/recipes-support/libtar/files/0002-Do-not-strip-libtar.patch
new file mode 100644
index 000000000..31c0d29e9
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0002-Do-not-strip-libtar.patch
@@ -0,0 +1,25 @@
1From e9fee689430af7791b932a1ee3c2cc103ccf290f Mon Sep 17 00:00:00 2001
2From: Stefan Eichenberger <stefan.eichenberger@netmodule.com>
3Date: Wed, 2 Nov 2016 05:43:43 -0400
4Subject: [PATCH] Do not strip libtar.
5
6---
7 libtar/Makefile.in | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/libtar/Makefile.in b/libtar/Makefile.in
11index 7c6f1bc..80bb8d9 100644
12--- a/libtar/Makefile.in
13+++ b/libtar/Makefile.in
14@@ -20,7 +20,7 @@ SHELL = @SHELL@
15
16 ### Installation programs and flags
17 INSTALL = @INSTALL@
18-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
19+INSTALL_PROGRAM = @INSTALL_PROGRAM@
20 INSTALL_DATA = @INSTALL_DATA@
21 LN_S = @LN_S@
22 MKDIR = @MKDIR@
23--
242.8.1
25
diff --git a/meta-oe/recipes-support/libtar/files/fix_libtool_sysroot.patch b/meta-oe/recipes-support/libtar/files/fix_libtool_sysroot.patch
new file mode 100644
index 000000000..178a97029
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/fix_libtool_sysroot.patch
@@ -0,0 +1,19 @@
1---
2 configure.ac | 1 +
3 1 file changed, 1 insertion(+)
4
5diff --git a/configure.ac b/configure.ac
6index 4623100..1c6b43d 100644
7--- a/configure.ac
8+++ b/configure.ac
9@@ -13,6 +13,7 @@ AC_CONFIG_MACRO_DIR([autoconf])
10 AM_INIT_AUTOMAKE([dist-bzip2])
11 ENCAP_PKG([], [postinstall-encap])
12
13+LT_INIT
14
15 dnl ### Load subdirectory modules. ##################################
16 PSG_MODULE([compat])
17--
182.8.1
19
diff --git a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
new file mode 100644
index 000000000..60710f416
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
@@ -0,0 +1,21 @@
1SUMMARY = "libtar, tar manipulating library"
2DESCRIPTION = "libtar is a library for manipulating POSIX tar files"
3HOMEPAGE = "http://www.feep.net/libtar"
4SECTION = "libs"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=61cbac6719ae682ce6cd45b5c11e21af"
7
8SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \
9 file://fix_libtool_sysroot.patch \
10 file://0002-Do-not-strip-libtar.patch \
11 "
12
13S = "${WORKDIR}/${BPN}"
14
15SRC_URI[md5sum] = "6ced95ab3a4b33fbfe2dfb231d156cdb"
16SRC_URI[sha256sum] = "50f24c857a7ef1cb092e6508758b86d06f1188508f897f3e6b40c573e8879109"
17
18inherit autotools-brokensep
19
20PACKAGECONFIG ??= "zlib"
21PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"