Skip to content

Commit

Permalink
app-misc/datefudge: add 1.26
Browse files Browse the repository at this point in the history
Closes: gentoo#34952
Signed-off-by: Zoltan Puskas <[email protected]>
Signed-off-by: Yixun Lan <[email protected]>
  • Loading branch information
zpuskas authored and dlan17 committed Jan 31, 2024
1 parent 03542ba commit 133c21f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-misc/datefudge/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST datefudge_1.24.tar.xz 14152 BLAKE2B c0a386193e6761abade4643e2f56520738baf4bb739d4c94cec3e47a8feb5ebdf32a6e8b4a0c3dbb9584136b9855abcc68f5134e082083dfb61e977ae45c0bc7 SHA512 cd548a7e8ff10189e101fa339b2845cdd19a59354e43b02cf47e466855ec192dc2084951f7663a94da56a580dd24524047651d8bcb41aa478fe94b24dffaedeb
DIST datefudge_1.26.tar.xz 14872 BLAKE2B fb8edc9ccf86af1357b49b2fd0b19c5b6a75a49c317baeb2915c56f9c1fa561d69cd37c8f3702cbe543f2747eab5bd1a1908788e3a8f29feb30bb42ec9a55636 SHA512 04255dcf3b8c552d14434fa9022c5970063a5d42d2b9526398894c3d926d91b380ef729565c72391b03981cabacdc9eb7eac29dc8cd6b462a9483b01e8a64d71
31 changes: 31 additions & 0 deletions app-misc/datefudge/datefudge-1.26.ebuild
Original file line number Diff line number Diff line change
@@ -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 ~ia64 ~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
}

0 comments on commit 133c21f

Please sign in to comment.