# Copyright 1999-2005 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.ebuild,v 1.16 2005/11/29 02:57:36 vapier Exp $ 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="as-is" SLOT="0" KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86" IUSE="" RDEPEND="virtual/libc" DEPEND="${RDEPEND} >=sys-apps/sed-4" src_unpack() { unpack ${A} cd ${S} # Hard links confuse prepman and these links are absolute. sed -e "s:ln -f:ln -sf:g" -i Makefile.in || die "sed failed" } src_compile() { econf || die emake \ OPTIONS="-DDEFFILE=\\\"/etc/freeze.cnf\\\"" \ || die "compile problem" } src_install() { dodir /usr/bin /usr/share/man/man1 make install \ DEST="${D}/usr/bin" \ MANDEST="${D}/usr/share/man/man1" \ || die dobin showhuf || die dodoc README *.lsm }