1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit multilib toolchain-funcs eutils
7 DESCRIPTION="A program (and preload library) to fake system date"
8 HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
9 SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz"
13 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
19 use userland_BSD && PATCHES+=( "${FILESDIR}"/${P}-bsd.patch )
25 -e '/dpkg-parsechangelog/d' \
27 use prefix && sed -i -e '/-o root -g root/d' Makefile
31 emake CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" VERSION="${PV}"
35 emake DESTDIR="${ED}" CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" install