Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-3.1.2.ebuild
Date: Sat, 30 Mar 2013 15:13:11
Message-Id: 20130330151308.0E51E2171D@flycatcher.gentoo.org
1 ssuominen 13/03/30 15:13:07
2
3 Modified: ChangeLog
4 Added: libarchive-3.1.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.141 app-arch/libarchive/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.141&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.141&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.140&r2=1.141
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
20 retrieving revision 1.140
21 retrieving revision 1.141
22 diff -u -r1.140 -r1.141
23 --- ChangeLog 22 Feb 2013 17:59:47 -0000 1.140
24 +++ ChangeLog 30 Mar 2013 15:13:07 -0000 1.141
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/libarchive
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.140 2013/02/22 17:59:47 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.141 2013/03/30 15:13:07 ssuominen Exp $
30 +
31 +*libarchive-3.1.2 (30 Mar 2013)
32 +
33 + 30 Mar 2013; Samuli Suominen <ssuominen@g.o> +libarchive-3.1.2.ebuild:
34 + Version bump.
35
36 22 Feb 2013; Zac Medico <zmedico@g.o> libarchive-3.1.1.ebuild:
37 Add ~arm-linux keyword.
38
39
40
41 1.1 app-arch/libarchive/libarchive-3.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/libarchive-3.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/libarchive-3.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libarchive-3.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-3.1.2.ebuild,v 1.1 2013/03/30 15:13:07 ssuominen Exp $
51
52 EAPI=5
53 inherit eutils libtool multilib
54
55 DESCRIPTION="BSD tar command"
56 HOMEPAGE="http://www.libarchive.org/"
57 SRC_URI="http://www.libarchive.org/downloads/${P}.tar.gz"
58
59 LICENSE="BSD BSD-2 BSD-4 public-domain"
60 SLOT="0/13"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
62 IUSE="acl +bzip2 +e2fsprogs expat +iconv kernel_linux +lzma lzo nettle static-libs xattr +zlib"
63
64 RDEPEND="dev-libs/openssl:0
65 acl? ( virtual/acl )
66 bzip2? ( app-arch/bzip2 )
67 expat? ( dev-libs/expat )
68 !expat? ( dev-libs/libxml2 )
69 iconv? ( virtual/libiconv )
70 kernel_linux? (
71 xattr? ( sys-apps/attr )
72 )
73 lzma? ( app-arch/xz-utils )
74 lzo? ( >=dev-libs/lzo-2 )
75 nettle? ( dev-libs/nettle )
76 zlib? ( sys-libs/zlib )"
77 DEPEND="${RDEPEND}
78 kernel_linux? (
79 virtual/os-headers
80 e2fsprogs? ( sys-fs/e2fsprogs )
81 )"
82
83 DOCS="NEWS README"
84
85 src_prepare() {
86 elibtoolize
87 }
88
89 src_configure() {
90 export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
91
92 # We disable lzmadec because we support the newer liblzma from xz-utils
93 # and not liblzmadec with this version.
94 econf \
95 $(use_enable static-libs static) \
96 --enable-bsdtar=shared \
97 --enable-bsdcpio=shared \
98 $(use_enable xattr) \
99 $(use_enable acl) \
100 $(use_with zlib) \
101 $(use_with bzip2 bz2lib) \
102 --without-lzmadec \
103 $(use_with iconv) \
104 $(use_with lzma) \
105 $(use_with lzo lzo2) \
106 $(use_with nettle) \
107 $(use_with !expat xml2) \
108 $(use_with expat)
109 }
110
111 src_test() {
112 # Replace the default src_test so that it builds tests in parallel
113 emake check
114 }
115
116 src_install() {
117 default
118
119 # Libs.private: should be used from libarchive.pc instead
120 prune_libtool_files
121
122 # Create tar symlink for FreeBSD
123 if ! use prefix && [[ ${CHOST} == *-freebsd* ]]; then
124 dosym bsdtar /usr/bin/tar
125 echo '.so bsdtar.1' > "${T}"/tar.1
126 doman "${T}"/tar.1
127 # We may wish to switch to symlink bsdcpio to cpio too one day
128 fi
129 }
130
131 pkg_preinst() {
132 preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 12)
133 }
134
135 pkg_postinst() {
136 preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 12)
137 }