From 42e13bd3e4a1d6cb4ba5c227c897f72f3f10487d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Mar 2009 09:26:07 +0000 Subject: Add squashfs-4.0 cvs snapshot, for linux-2.6.29 users. (Portage version: 2.2_rc27_p13178/cvs/Linux i686) --- sys-fs/squashfs-tools/ChangeLog | 10 ++++- .../squashfs-tools-4.0_pre20080324.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild (limited to 'sys-fs/squashfs-tools') diff --git a/sys-fs/squashfs-tools/ChangeLog b/sys-fs/squashfs-tools/ChangeLog index dfa460e3d841..9b8f2f3a41a5 100644 --- a/sys-fs/squashfs-tools/ChangeLog +++ b/sys-fs/squashfs-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/squashfs-tools -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.57 2008/10/15 03:05:19 jer Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/squashfs-tools/ChangeLog,v 1.58 2009/03/25 09:26:07 zmedico Exp $ + +*squashfs-tools-4.0_pre20080324 (25 Mar 2009) + + 25 Mar 2009; Zac Medico + +squashfs-tools-4.0_pre20080324.ebuild: + Add squashfs-4.0 cvs snapshot, for linux-2.6.29 users. 15 Oct 2008; Jeroen Roovers squashfs-tools-3.1_p2.ebuild, squashfs-tools-3.2_p2.ebuild, squashfs-tools-3.3.ebuild, diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild new file mode 100644 index 000000000000..e458bbd4d5d6 --- /dev/null +++ b/sys-fs/squashfs-tools/squashfs-tools-4.0_pre20080324.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +inherit toolchain-funcs + +MY_PV=${PV} +DESCRIPTION="Tool for creating compressed filesystem type squashfs" +HOMEPAGE="http://squashfs.sourceforge.net/" +SRC_URI="mirror://gentoo/squashfs${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="sys-libs/zlib" + +S=${WORKDIR}/squashfs${MY_PV}/squashfs-tools + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e 's:-O2:$(CFLAGS):' \ + -e 's:$(CC):$(CC) $(LDFLAGS):' \ + Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dobin mksquashfs unsquashfs || die + cd .. + # cvs snapshot only contains README + # dodoc README ACKNOWLEDGEMENTS CHANGES PERFORMANCE.README + dodoc README +} + +pkg_postinst() { + ewarn "This version of mksquashfs requires a 2.6.24 kernel or better." +} -- cgit v1.2.3-65-gdbad