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