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.5.ebuild ChangeLog
Date: Sun, 30 Jun 2013 19:26:33
Message-Id: 20130630192628.4C5D72171C@flycatcher.gentoo.org
1 vapier 13/06/30 19:26:28
2
3 Modified: ChangeLog
4 Added: xz-utils-5.0.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
9
10 Revision Changes Path
11 1.62 app-arch/xz-utils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 17 Feb 2013 19:48:08 -0000 1.61
24 +++ ChangeLog 30 Jun 2013 19:26:28 -0000 1.62
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-arch/xz-utils
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.61 2013/02/17 19:48:08 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-arch/xz-utils/ChangeLog,v 1.62 2013/06/30 19:26:28 vapier Exp $
30 +
31 +*xz-utils-5.0.5 (30 Jun 2013)
32 +
33 + 30 Jun 2013; Mike Frysinger <vapier@g.o> +xz-utils-5.0.5.ebuild:
34 + Version bump.
35
36 17 Feb 2013; Zac Medico <zmedico@g.o> xz-utils-5.0.4-r1.ebuild:
37 Add ~arm-linux keyword.
38
39
40
41 1.1 app-arch/xz-utils/xz-utils-5.0.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xz-utils/xz-utils-5.0.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xz-utils-5.0.5.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/xz-utils/xz-utils-5.0.5.ebuild,v 1.1 2013/06/30 19:26:28 vapier Exp $
51
52 # Remember: we cannot leverage autotools in this ebuild in order
53 # to avoid circular deps with autotools
54
55 EAPI="4"
56
57 inherit eutils multilib toolchain-funcs libtool
58
59 if [[ ${PV} == "9999" ]] ; then
60 EGIT_REPO_URI="http://git.tukaani.org/xz.git"
61 inherit git-2 autotools
62 SRC_URI=""
63 EXTRA_DEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
64 else
65 MY_P="${PN/-utils}-${PV/_}"
66 SRC_URI="http://tukaani.org/xz/${MY_P}.tar.gz"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
68 S=${WORKDIR}/${MY_P}
69 EXTRA_DEPEND=
70 fi
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 src_prepare() {
86 if [[ ${PV} == "9999" ]] ; then
87 eautopoint
88 eautoreconf
89 else
90 elibtoolize # to allow building shared libs on Solaris/x64
91 fi
92 }
93
94 src_configure() {
95 econf \
96 $(use_enable nls) \
97 $(use_enable threads) \
98 $(use_enable static-libs static)
99 }
100
101 src_install() {
102 default
103 gen_usr_ldscript -a lzma
104 prune_libtool_files --all
105 rm "${ED}"/usr/share/doc/xz/COPYING* || die
106 mv "${ED}"/usr/share/doc/{xz,${PF}} || die
107 }
108
109 pkg_preinst() {
110 preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
111 }
112
113 pkg_postinst() {
114 preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
115 }