app-misc/datefudge: add 1.27

Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Closes: https://github.com/gentoo/gentoo/pull/38966
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Zoltan Puskas
2024-10-12 21:57:03 -07:00
committed by Joonas Niilola
parent fec94ab12b
commit f5140a7828
2 changed files with 32 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST datefudge_1.24.tar.xz 14152 BLAKE2B c0a386193e6761abade4643e2f56520738baf4bb739d4c94cec3e47a8feb5ebdf32a6e8b4a0c3dbb9584136b9855abcc68f5134e082083dfb61e977ae45c0bc7 SHA512 cd548a7e8ff10189e101fa339b2845cdd19a59354e43b02cf47e466855ec192dc2084951f7663a94da56a580dd24524047651d8bcb41aa478fe94b24dffaedeb
DIST datefudge_1.26.tar.xz 14872 BLAKE2B fb8edc9ccf86af1357b49b2fd0b19c5b6a75a49c317baeb2915c56f9c1fa561d69cd37c8f3702cbe543f2747eab5bd1a1908788e3a8f29feb30bb42ec9a55636 SHA512 04255dcf3b8c552d14434fa9022c5970063a5d42d2b9526398894c3d926d91b380ef729565c72391b03981cabacdc9eb7eac29dc8cd6b462a9483b01e8a64d71
DIST datefudge_1.27.tar.xz 14968 BLAKE2B 9ef222073a986369a227485b7feb93d42e99da1be3a8d73d50c353626c5a0fa4a0128853e06c888e5c5ba9508738910531f0c48f2c2b823671ac5fdb81171a40 SHA512 58d51e50b3011447927cb1b53b0510174ede6bbc2667cdac06707826891c7e4180214fb8d43e6e5410c556a3ef9fd09746741768abcac426a8ece6a6a1f3abcc

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A program (and preload library) to fake system date"
HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
src_prepare() {
default
sed -i \
-e '/dpkg-parsechangelog/d' \
Makefile || die
}
src_compile() {
emake CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" VERSION="${PV}"
}
src_install() {
emake DESTDIR="${D}" CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" install
einstalldocs
}