summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/hercules-sdl-crypto/Manifest1
-rw-r--r--app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.8.0.ebuild20
2 files changed, 21 insertions, 0 deletions
diff --git a/app-emulation/hercules-sdl-crypto/Manifest b/app-emulation/hercules-sdl-crypto/Manifest
index 88168d5a0844..8bbafa033cea 100644
--- a/app-emulation/hercules-sdl-crypto/Manifest
+++ b/app-emulation/hercules-sdl-crypto/Manifest
@@ -1 +1,2 @@
DIST crypto-a5096e5dd79f46b568806240c0824cd8cb2fcda2.tar.gz 81482 BLAKE2B 4e414c66ee3716c17217ac85b658171907b1018bb8b7306c2b040957cb15723f77c32d5b04c5ff12c346e2ac464d16e805c036b7408755a7f1ca40174c031296 SHA512 d55e73d7dfa90da53c173159e32cb733a44780cd8606d539351371e61910f3a82312b8ab9f858b293c89c8f7cc4fe74da86825db2f9a6e73391d95c3f903d94e
+DIST hercules-sdl-crypto-9ac58405c2b91fb7cd230aed474dc7059f0fcad9.tar.gz 81487 BLAKE2B 19a3ad9cef947ab6fa2b75a4ed1e1a48e3c678176339cc6ff0dba18b47f8f977e7ecc39e8cc0fd417b8136c25d7f2ad674f01d9c64b333477c4aeed265aaa3ce SHA512 f2a39153db12a9929eaeef303fa4e67723c670511f78de4673fe0295c7d36d3162dc6201a142957c58ff62e75fd71234b21b45f4517d3493b2aa22a3ca094dff
diff --git a/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.8.0.ebuild b/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.8.0.ebuild
new file mode 100644
index 000000000000..dd10d49c6a07
--- /dev/null
+++ b/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.8.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# Use ../hercules-sdl/files/gen_hashes.sh to identify the relevant
+# commit when tagging new versions.
+COMMIT="9ac58405c2b91fb7cd230aed474dc7059f0fcad9"
+
+DESCRIPTION="Simple AES/DES encryption and SHA1/SHA2 hashing library"
+HOMEPAGE="https://github.com/SDL-Hercules-390/crypto"
+SRC_URI="https://github.com/SDL-Hercules-390/crypto/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
+
+S="${WORKDIR}/crypto-${COMMIT}"
+LICENSE="public-domain MIT BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+PATCHES=( "${FILESDIR}/cmakefix.patch" )