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