Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/xz-utils: ChangeLog xz-utils-5.0.1.ebuild
Date: Sat, 05 Feb 2011 08:30:05
Message-Id: 20110205082954.88D6820054@flycatcher.gentoo.org
1 vapier 11/02/05 08:29:54
2
3 Modified: ChangeLog
4 Added: xz-utils-5.0.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.21 app-arch/xz-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 6 Jan 2011 02:49:41 -0000 1.20
24 +++ ChangeLog 5 Feb 2011 08:29:54 -0000 1.21
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/xz-utils
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.20 2011/01/06 02:49:41 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.21 2011/02/05 08:29:54 vapier Exp $
30 +
31 +*xz-utils-5.0.1 (05 Feb 2011)
32 +
33 + 05 Feb 2011; Mike Frysinger <vapier@g.o> +xz-utils-5.0.1.ebuild:
34 + Version bump.
35
36 06 Jan 2011; Mike Frysinger <vapier@g.o> xz-utils-5.0.0.ebuild,
37 xz-utils-9999.ebuild:
38
39
40
41 1.1 app-arch/xz-utils/xz-utils-5.0.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xz-utils-5.0.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.1.ebuild,v 1.1 2011/02/05 08:29:54 vapier Exp $
51
52 # Remember: we cannot leverage autotools in this ebuild in order
53 # to avoid circular deps with autotools
54
55 EAPI="2"
56
57 if [[ ${PV} == "9999" ]] ; then
58 EGIT_REPO_URI="git://ctrl.tukaani.org/xz.git"
59 inherit git autotools
60 SRC_URI=""
61 EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
62 else
63 MY_P="${PN/-utils}-${PV/_}"
64 SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
66 S=${WORKDIR}/${MY_P}
67 EXTRA_DEPEND=
68 fi
69
70 inherit eutils multilib
71
72 DESCRIPTION="utils for managing LZMA compressed files"
73 HOMEPAGE="http://tukaani.org/xz/"
74
75 LICENSE="LGPL-2.1"
76 SLOT="0"
77 IUSE="nls static-libs +threads"
78
79 RDEPEND="!<app-arch/lzma-4.63
80 !app-arch/lzma-utils
81 !<app-arch/p7zip-4.57"
82 DEPEND="${RDEPEND}
83 ${EXTRA_DEPEND}"
84
85 if [[ ${PV} == "9999" ]] ; then
86 src_prepare() {
87 eautopoint
88 eautoreconf
89 }
90 fi
91
92 src_configure() {
93 econf \
94 $(use_enable nls) \
95 $(use_enable threads) \
96 $(use_enable static-libs static)
97 }
98
99 src_install() {
100 emake install DESTDIR="${D}" || die
101 rm "${D}"/usr/share/doc/xz/COPYING* || die
102 mv "${D}"/usr/share/doc/{xz,${PF}} || die
103 prepalldocs
104 dodoc AUTHORS ChangeLog NEWS README THANKS
105 }
106
107 pkg_preinst() {
108 preserve_old_lib /usr/$(get_libdir)/liblzma.so.0
109 }
110
111 pkg_postinst() {
112 preserve_old_lib_notify /usr/$(get_libdir)/liblzma.so.0
113 }