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/lzma-utils: lzma-utils-4.32.5.ebuild ChangeLog
Date: Sat, 10 May 2008 08:35:11
Message-Id: E1JukXs-0000m6-Ig@stork.gentoo.org
1 vapier 08/05/10 08:35:08
2
3 Modified: lzma-utils-4.32.5.ebuild ChangeLog
4 Log:
5 If building with USE=nocxx, neuter lzma-utils to only provide decompressor #220899 by Ulrich Müller.
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.9 app-arch/lzma-utils/lzma-utils-4.32.5.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild?r1=1.8&r2=1.9
14
15 Index: lzma-utils-4.32.5.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- lzma-utils-4.32.5.ebuild 3 Apr 2008 18:19:14 -0000 1.8
22 +++ lzma-utils-4.32.5.ebuild 10 May 2008 08:35:08 -0000 1.9
23 @@ -1,21 +1,45 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild,v 1.8 2008/04/03 18:19:14 armin76 Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/lzma-utils-4.32.5.ebuild,v 1.9 2008/05/10 08:35:08 vapier Exp $
28
29 +# Remember: we cannot leverage autotools in this ebuild in order
30 +# to avoid circular deps with autotools
31 +
32 +inherit eutils
33 +
34 +MY_P="lzma-${PV/_}"
35 DESCRIPTION="LZMA interface made easy"
36 HOMEPAGE="http://tukaani.org/lzma/"
37 -SRC_URI="http://tukaani.org/lzma/lzma-${PV/_}.tar.gz"
38 +SRC_URI="http://tukaani.org/lzma/${MY_P}.tar.gz
39 + nocxx? ( mirror://gentoo/${P}-nocxx.patch.bz2 )"
40
41 LICENSE="LGPL-2.1"
42 SLOT="0"
43 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
44 -IUSE=""
45 +IUSE="nocxx"
46
47 RDEPEND="!app-arch/lzma"
48
49 -S=${WORKDIR}/lzma-${PV/_}
50 +S=${WORKDIR}/${MY_P}
51 +
52 +src_unpack() {
53 + unpack ${A}
54 + cd "${S}"
55 + if use nocxx ; then
56 + epatch "${WORKDIR}"/${P}-nocxx.patch
57 + epunt_cxx
58 + fi
59 +}
60
61 src_install() {
62 emake install DESTDIR="${D}" || die
63 dodoc AUTHORS ChangeLog NEWS README THANKS
64 + use nocxx && newbin "${FILESDIR}"/lzma-nocxx.sh lzma
65 +}
66 +
67 +pkg_postinst() {
68 + if use nocxx ; then
69 + ewarn "You have a neutered lzma package install due to USE=nocxx."
70 + ewarn "You will only be able to unpack lzma archives."
71 + fi
72 }
73
74
75
76 1.32 app-arch/lzma-utils/ChangeLog
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/ChangeLog?rev=1.32&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/ChangeLog?rev=1.32&content-type=text/plain
80 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/lzma-utils/ChangeLog?r1=1.31&r2=1.32
81
82 Index: ChangeLog
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/ChangeLog,v
85 retrieving revision 1.31
86 retrieving revision 1.32
87 diff -u -r1.31 -r1.32
88 --- ChangeLog 3 Apr 2008 18:19:14 -0000 1.31
89 +++ ChangeLog 10 May 2008 08:35:08 -0000 1.32
90 @@ -1,6 +1,11 @@
91 # ChangeLog for app-arch/lzma-utils
92 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
93 -# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/ChangeLog,v 1.31 2008/04/03 18:19:14 armin76 Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/app-arch/lzma-utils/ChangeLog,v 1.32 2008/05/10 08:35:08 vapier Exp $
95 +
96 + 10 May 2008; Mike Frysinger <vapier@g.o> +files/lzma-nocxx.sh,
97 + lzma-utils-4.32.5.ebuild:
98 + If building with USE=nocxx, neuter lzma-utils to only provide decompressor
99 + #220899 by Ulrich Müller.
100
101 03 Apr 2008; Raúl Porcel <armin76@g.o> lzma-utils-4.32.5.ebuild:
102 Add ~sparc-fbsd
103
104
105
106 --
107 gentoo-commits@l.g.o mailing list