1 # Copyright 1999-2013 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"
32 -e '/INSTALL_PROGRAM/s:-s::' \
33 {doc,lib{,tar}}/Makefile.in || die
35 autotools-utils_src_prepare
41 --disable-epkg-install
45 autotools-utils_src_configure
49 autotools-utils_src_install
51 dodoc ChangeLog* README TODO
52 newdoc compat/README README.compat
53 newdoc compat/TODO TODO.compat
54 newdoc listhash/TODO TODO.listhash