diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-12-12 16:14:01 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-12-12 16:14:01 +0000 |
commit | 8d11ac518dc31b5753b349a35ee4ff7acc165244 (patch) | |
tree | fcac6015aeca434950e6eb44cfcd047eb2832c78 /app-arch/freeze/freeze-2.5.0-r1.ebuild | |
parent | Stable on amd64, wrt bug #446984 (diff) | |
download | gentoo-2-8d11ac518dc31b5753b349a35ee4ff7acc165244.tar.gz gentoo-2-8d11ac518dc31b5753b349a35ee4ff7acc165244.tar.bz2 gentoo-2-8d11ac518dc31b5753b349a35ee4ff7acc165244.zip |
Adjust sleuthkit blocker to a specific minimal version. Revision bump for an ebuild that removes the fcat and fcat.1 symlinks (bug #444872).
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-arch/freeze/freeze-2.5.0-r1.ebuild')
-rw-r--r-- | app-arch/freeze/freeze-2.5.0-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-arch/freeze/freeze-2.5.0-r1.ebuild b/app-arch/freeze/freeze-2.5.0-r1.ebuild new file mode 100644 index 000000000000..4f04fd0932cd --- /dev/null +++ b/app-arch/freeze/freeze-2.5.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/freeze/freeze-2.5.0-r1.ebuild,v 1.1 2012/12/12 16:14:01 jer Exp $ + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="Freeze/unfreeze compression program" +HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/compress/" +SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/utils/compress/${P}.tar.gz" + +LICENSE="GPL-1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=" + !<=media-libs/mlt-0.4.2 + !media-libs/mlt[melt] +" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_prepare() { + # Hard links confuse prepman and these links are absolute. + # Fix pre-stripped binary and respect CFLAGS as well + sed -i -e 's:ln -f:ln -sf:g' \ + -e 's:-strip $@::g' \ + -e '/^CFLAGS/s:=.*:+= -I.:' \ + Makefile.in || die "sed failed" +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + OPTIONS="-DDEFFILE=\\\"/etc/freeze.cnf\\\"" +} + +src_install() { + dodir /usr/bin /usr/share/man/man1 + + emake \ + DEST="${D}/usr/bin" \ + MANDEST="${D}/usr/share/man/man1" \ + install + + # these symlinks collide with app-forensics/sleuthkit (bug #444872) + rm "${D}"/usr/bin/fcat "${D}"/usr/share/man/man1/fcat.1 || die + + dobin showhuf + dodoc README *.lsm +} |