# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Fake the system date" HOMEPAGE="http://packages.qa.debian.org/datefudge" SRC_URI="mirror://debian/pool/main/d/datefudge/${PN}_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~ia64 ~amd64 ~alpha ~mips ~sparc" IUSE="" DEPEND="" src_unpack() { unpack ${A} # Makefile uses a Debian script to determine version from changelog. sed -i -e "s,VERSION :=,\#VERSION :=," ${S}/Makefile } src_compile() { # We'll let portage tell it what version it is. emake VERSION=${PV} || die } src_install() { make DESTDIR=${D} install || die dodoc README }