/[gentoo-x86]/dev-libs/libtar/libtar-1.2.20-r2.ebuild
Gentoo

Contents of /dev-libs/libtar/libtar-1.2.20-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Oct 23 17:41:07 2013 UTC (6 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ppc64, wrt bug #487420

(Portage version: 2.1.12.2/cvs/Linux ppc64, RepoMan options: --include-arches="ppc64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libtar/libtar-1.2.20-r2.ebuild,v 1.4 2013/10/22 08:58:09 ago Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils
9
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="http://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
17 IUSE="static-libs zlib"
18
19 RDEPEND="zlib? ( sys-libs/zlib )
20 !zlib? ( app-arch/gzip )"
21 DEPEND="${RDEPEND}"
22
23 S="${WORKDIR}/${PN}"
24
25 PATCHES=(
26 "${FILESDIR}/${PN}-1.2.11-free.patch"
27 "${FILESDIR}/${PN}-1.2.11-impl-dec.patch"
28 )
29
30 src_prepare() {
31 sed -i \
32 -e '/INSTALL_PROGRAM/s:-s::' \
33 {doc,lib{,tar}}/Makefile.in || die
34
35 autotools-utils_src_prepare
36 }
37
38 src_configure() {
39 local myeconfargs=(
40 --disable-encap
41 --disable-epkg-install
42 $(use_with zlib)
43 )
44
45 autotools-utils_src_configure
46 }
47
48 src_install() {
49 autotools-utils_src_install
50
51 dodoc ChangeLog* README TODO
52 newdoc compat/README README.compat
53 newdoc compat/TODO TODO.compat
54 newdoc listhash/TODO TODO.listhash
55 }

  ViewVC Help
Powered by ViewVC 1.1.20