1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit autotools-utils
10 DESCRIPTION="C library for manipulating tar archives"
11 HOMEPAGE="http://www.feep.net/libtar/ http://repo.or.cz/w/libtar.git/"
12 SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz"
16 KEYWORDS="amd64 ~ppc ~ppc64 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
17 IUSE="static-libs zlib"
19 RDEPEND="zlib? ( sys-libs/zlib )
20 !zlib? ( app-arch/gzip )"
26 "${FILESDIR}"/${PN}-1.2.11-free.patch
27 "${FILESDIR}"/${PN}-1.2.11-impl-dec.patch
28 "${FILESDIR}"/CVE-2013-4420.patch
33 -e '/INSTALL_PROGRAM/s:-s::' \
34 {doc,lib{,tar}}/Makefile.in || die
36 autotools-utils_src_prepare
42 --disable-epkg-install
46 autotools-utils_src_configure
50 autotools-utils_src_install
52 dodoc ChangeLog* README TODO
53 newdoc compat/README README.compat
54 newdoc compat/TODO TODO.compat
55 newdoc listhash/TODO TODO.listhash