Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/squashfs-tools: ChangeLog squashfs-tools-4.3_pre20130621-r1.ebuild squashfs-tools-4.3_pre20130621.ebuild
Date: Tue, 21 Jan 2014 21:00:18
Message-Id: 20140121205825.B1F452004C@flycatcher.gentoo.org
1 jer 14/01/21 20:58:25
2
3 Modified: ChangeLog
4 Added: squashfs-tools-4.3_pre20130621-r1.ebuild
5 Removed: squashfs-tools-4.3_pre20130621.ebuild
6 Log:
7 Fix USE=-xattr. Drop the horrible use_sed in favour of usex.
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.92 sys-fs/squashfs-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?rev=1.92&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?rev=1.92&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?r1=1.91&r2=1.92
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v
21 retrieving revision 1.91
22 retrieving revision 1.92
23 diff -u -r1.91 -r1.92
24 --- ChangeLog 21 Jan 2014 10:25:49 -0000 1.91
25 +++ ChangeLog 21 Jan 2014 20:58:25 -0000 1.92
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-fs/squashfs-tools
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.91 2014/01/21 10:25:49 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.92 2014/01/21 20:58:25 jer Exp $
31 +
32 +*squashfs-tools-4.3_pre20130621-r1 (21 Jan 2014)
33 +
34 + 21 Jan 2014; Jeroen Roovers <jer@g.o>
35 + -squashfs-tools-4.3_pre20130621.ebuild,
36 + +squashfs-tools-4.3_pre20130621-r1.ebuild:
37 + Fix USE=-xattr. Drop the horrible use_sed in favour of usex.
38
39 *squashfs-tools-4.3_pre20130621 (21 Jan 2014)
40
41
42
43
44 1.1 sys-fs/squashfs-tools/squashfs-tools-4.3_pre20130621-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.3_pre20130621-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.3_pre20130621-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: squashfs-tools-4.3_pre20130621-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.3_pre20130621-r1.ebuild,v 1.1 2014/01/21 20:58:25 jer Exp $
54
55 EAPI=5
56
57 inherit eutils toolchain-funcs
58
59 DESCRIPTION="Tool for creating compressed filesystem type squashfs"
60 HOMEPAGE="http://squashfs.sourceforge.net"
61 SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux"
66 IUSE="+xz lzma lzo xattr"
67
68 RDEPEND="
69 sys-libs/zlib
70 xz? ( app-arch/xz-utils )
71 lzo? ( dev-libs/lzo )
72 lzma? ( app-arch/xz-utils )
73 !xz? ( !lzo? ( sys-libs/zlib ) )
74 xattr? ( sys-apps/attr )"
75 DEPEND="${RDEPEND}"
76
77 S="${WORKDIR}/${P}/squashfs-tools"
78
79 src_configure() {
80 # set up make command line variables in EMAKE_SQUASHFS_CONF
81 EMAKE_SQUASHFS_CONF=(
82 $(usex lzma LZMA_XZ_SUPPORT= LZMA_XS_SUPPORT= 1 0)
83 $(usex lzo LZO_SUPPORT= LZO_SUPPORT= 1 0)
84 $(usex xattr XATTR_DEFAULT= XATTR_DEFAULT= 1 0)
85 $(usex xz XZ_SUPPORT= XZ_SUPPORT= 1 0)
86 )
87
88 tc-export CC
89 }
90
91 src_compile() {
92 emake ${EMAKE_SQUASHFS_CONF[@]}
93 }
94
95 src_install() {
96 dobin mksquashfs unsquashfs
97 dodoc ../README
98 }
99
100 pkg_postinst() {
101 ewarn "This version of mksquashfs requires a 2.6.29 kernel or better"
102 use xz &&
103 ewarn "XZ support requires a 2.6.38 kernel or better"
104 }