Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: libarchive-2.7.1.ebuild ChangeLog
Date: Wed, 09 Sep 2009 13:04:35
Message-Id: E1MlMqe-0000TJ-KS@stork.gentoo.org
1 flameeyes 09/09/09 13:04:32
2
3 Modified: ChangeLog
4 Added: libarchive-2.7.1.ebuild
5 Log:
6 Version bump, thanks zzam in bug #284233.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.67 app-arch/libarchive/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 31 Aug 2009 15:41:06 -0000 1.66
23 +++ ChangeLog 9 Sep 2009 13:04:32 -0000 1.67
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-arch/libarchive
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.66 2009/08/31 15:41:06 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.67 2009/09/09 13:04:32 flameeyes Exp $
29 +
30 +*libarchive-2.7.1 (09 Sep 2009)
31 +
32 + 09 Sep 2009; Diego E. Pettenò <flameeyes@g.o>
33 + +libarchive-2.7.1.ebuild:
34 + Version bump, thanks zzam in bug #284233.
35
36 31 Aug 2009; Brent Baude <ranger@g.o> libarchive-2.7.0-r1.ebuild:
37 Marking libarchive-2.7.0-r1 ppc64 for bug 279679
38
39
40
41 1.1 app-arch/libarchive/libarchive-2.7.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.7.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.7.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libarchive-2.7.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.7.1.ebuild,v 1.1 2009/09/09 13:04:32 flameeyes Exp $
51
52 EAPI=1
53
54 inherit eutils libtool toolchain-funcs flag-o-matic
55
56 DESCRIPTION="BSD tar command"
57 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive"
58 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
59 http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
64 IUSE="static acl xattr kernel_linux +bzip2 +lzma +zlib"
65
66 COMPRESS_LIBS_DEPEND="lzma? ( app-arch/xz-utils )
67 bzip2? ( app-arch/bzip2 )
68 zlib? ( sys-libs/zlib )"
69
70 RDEPEND="!dev-libs/libarchive
71 dev-libs/openssl
72 acl? ( virtual/acl )
73 xattr? ( kernel_linux? ( sys-apps/attr ) )
74 !static? ( ${COMPRESS_LIBS_DEPEND} )"
75 DEPEND="${RDEPEND}
76 ${COMPRESS_LIBS_DEPEND}
77 kernel_linux? ( sys-fs/e2fsprogs
78 virtual/os-headers )"
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83
84 elibtoolize
85 epunt_cxx
86 }
87
88 src_compile() {
89 local myconf
90
91 if ! use static ; then
92 myconf="--enable-bsdtar=shared --enable-bsdcpio=shared"
93 fi
94
95 # Check for need of this in 2.7.1 and later, on 2.7.0, -Werror was
96 # added to the final release, but since it's done in the
97 # Makefile.am we can just work it around this way.
98 append-flags -Wno-error
99
100 # We disable lzmadec because we support the newer liblzma from xz-utils
101 # and not liblzmadec with this version.
102 econf --bindir=/bin \
103 --enable-bsdtar --enable-bsdcpio \
104 $(use_enable acl) $(use_enable xattr) \
105 $(use_with zlib) \
106 $(use_with bzip2 bz2lib) $(use_with lzma) \
107 --without-lzmadec \
108 ${myconf} \
109 --disable-dependency-tracking || die "econf failed."
110
111 emake || die "emake failed."
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed."
116
117 # Create tar symlink for FreeBSD
118 if [[ ${CHOST} == *-freebsd* ]]; then
119 dosym bsdtar /bin/tar
120 dosym bsdtar.1 /usr/share/man/man1/tar.1
121 # We may wish to switch to symlink bsdcpio to cpio too one day
122 fi
123
124 dodoc NEWS README
125 dodir /$(get_libdir)
126 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
127 gen_usr_ldscript libarchive.so
128 }