Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/squashfs-tools: ChangeLog squashfs-tools-4.0_pre20080324.ebuild
Date: Wed, 25 Mar 2009 09:26:10
Message-Id: E1LmPN9-0003yJ-IU@stork.gentoo.org
1 zmedico 09/03/25 09:26:07
2
3 Modified: ChangeLog
4 Added: squashfs-tools-4.0_pre20080324.ebuild
5 Log:
6 Add squashfs-4.0 cvs snapshot, for linux-2.6.29 users.
7 (Portage version: 2.2_rc27_p13178/cvs/Linux i686)
8
9 Revision Changes Path
10 1.58 sys-fs/squashfs-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?rev=1.58&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?rev=1.58&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/squashfs-tools/ChangeLog?r1=1.57&r2=1.58
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v
19 retrieving revision 1.57
20 retrieving revision 1.58
21 diff -u -r1.57 -r1.58
22 --- ChangeLog 15 Oct 2008 03:05:19 -0000 1.57
23 +++ ChangeLog 25 Mar 2009 09:26:07 -0000 1.58
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-fs/squashfs-tools
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.57 2008/10/15 03:05:19 jer Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.58 2009/03/25 09:26:07 zmedico Exp $
30 +
31 +*squashfs-tools-4.0_pre20080324 (25 Mar 2009)
32 +
33 + 25 Mar 2009; Zac Medico <zmedico@g.o>
34 + +squashfs-tools-4.0_pre20080324.ebuild:
35 + Add squashfs-4.0 cvs snapshot, for linux-2.6.29 users.
36
37 15 Oct 2008; Jeroen Roovers <jer@g.o> squashfs-tools-3.1_p2.ebuild,
38 squashfs-tools-3.2_p2.ebuild, squashfs-tools-3.3.ebuild,
39
40
41
42 1.1 sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild?rev=1.1&content-type=text/plain
46
47 Index: squashfs-tools-4.0_pre20080324.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild,v 1.1 2009/03/25 09:26:07 zmedico Exp $
52
53 inherit toolchain-funcs
54
55 MY_PV=${PV}
56 DESCRIPTION="Tool for creating compressed filesystem type squashfs"
57 HOMEPAGE="http://squashfs.sourceforge.net/"
58 SRC_URI="mirror://gentoo/squashfs${MY_PV}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE=""
64
65 RDEPEND="sys-libs/zlib"
66
67 S=${WORKDIR}/squashfs${MY_PV}/squashfs-tools
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 sed -i \
73 -e 's:-O2:$(CFLAGS):' \
74 -e 's:$(CC):$(CC) $(LDFLAGS):' \
75 Makefile || die "sed failed"
76 }
77
78 src_compile() {
79 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die
80 }
81
82 src_install() {
83 dobin mksquashfs unsquashfs || die
84 cd ..
85 # cvs snapshot only contains README
86 # dodoc README ACKNOWLEDGEMENTS CHANGES PERFORMANCE.README
87 dodoc README
88 }
89
90 pkg_postinst() {
91 ewarn "This version of mksquashfs requires a 2.6.24 kernel or better."
92 }