diff options
author | Martin Väth <martin@mvath.de> | 2010-05-20 14:06:14 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 10:45:27 +0200 |
commit | 5b08b617812ba9ab7d7450ff60f51b371809a1e8 (patch) | |
tree | 5873325f5d9798f53dbd1d90fbb6bdb88af8f6a2 /sys-fs/squash_dir/squash_dir-10.5.ebuild | |
parent | ez-ipupdate: Fix detection of interface (with internal revision increase) (diff) | |
download | mv-5b08b617812ba9ab7d7450ff60f51b371809a1e8.tar.gz mv-5b08b617812ba9ab7d7450ff60f51b371809a1e8.tar.bz2 mv-5b08b617812ba9ab7d7450ff60f51b371809a1e8.zip |
Bump squash_dir and provide required testing version of unionfs-fuse
Diffstat (limited to 'sys-fs/squash_dir/squash_dir-10.5.ebuild')
-rw-r--r-- | sys-fs/squash_dir/squash_dir-10.5.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/sys-fs/squash_dir/squash_dir-10.5.ebuild b/sys-fs/squash_dir/squash_dir-10.5.ebuild new file mode 100644 index 00000000..155c41c6 --- /dev/null +++ b/sys-fs/squash_dir/squash_dir-10.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI="3" +inherit autotools +RESTRICT="mirror" + +DESCRIPTION="Keep directories compressed with squashfs. Useful for portage tree, texmf-dist" +HOMEPAGE="http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/index.html" +SRC_URI="http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="readonly" + +RDEPEND="sys-fs/squashfs-tools + !readonly? ( || ( + sys-fs/aufs2 + >sys-fs/unionfs-fuse-0.24 + sys-fs/funionfs + sys-fs/unionfs + sys-fs/aufs + ) )" +DEPEND=">=sys-devel/autoconf-2.65" + +src_prepare () { + eautoreconf +} + +src_configure () { + econf --docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + prepalldocs +} + +check_for_obsolete () { + local a + a="${EPREFIX}/etc/portage/env/sys-fs/squashfs-tools" + test -e "${a}" && grep -q "squash_dir's hack" "${a}" || return 0 + ewarn "You probably had installed ${PN} with USE=hack-squash-utils" + ewarn "${a} is left from this." + ewarn "This file is now obsolete." + ewarn "It is recommended to remove it and to install instead" + ewarn "sys-fs/squashfs-tools from the mv overlay with USE=progress-redirect" + return 1 +} + +pkg_postinst () { + check_for_obsolete && \ + ! has_version sys-fs/squashfs-tools[progress-redirect] || return 0 + ewarn "For better output of ${PN}, it is recommended to install" + ewarn "sys-fs/squashfs-tools from the mv overlay with USE=progress-redirect" + : +} + +pkg_postrm () { + check_for_obsolete + : +} |