summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/di/Manifest1
-rw-r--r--sys-block/di/di-4.50.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index 203b411f8d0a..2d8b57b140fa 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1,3 +1,4 @@
DIST di-4.48.0.1.tar.gz 227599 BLAKE2B 128e72c1b3bd5b61de9a7df14d66c746b4e41e2b4a303853922f400e62bf200be82f320ca78b94d2d40bb661f2cf647d28657a807fc0bd4fc42cdc6a2e843182 SHA512 a5fbfd1c3790694b03a870ab56c61abe3f23bac12b41bdfe3d572d618a9f51194796d7fe020ff1fb196c422274ad8b2bce8d09cc01f8ba75b30696f5df11dc8c
DIST di-4.48.tar.gz 222454 BLAKE2B 763e535e4e57c3805758dea8f7f05e75ff3d2acf9926619b8d45619bcef6157e9bd1b91a647efcee1728dbf2593ce91b934f77f24bb004d3ef546ad58e8434ee SHA512 942e71b7afbf2a4d3ef56cc2844bfbbe1a2001eee750b99951743f43b05c7bf692a59586f9efc228321ea3f91265211d71a4acc2e49e61efd15bcbaf41f98eb6
DIST di-4.49.tar.gz 228536 BLAKE2B 1f22cc59b97c9eb41a8af984811ff5817b49fdaf8315b76968bce269fd393cd3a26da947adbd830615316c454abab71a8547ef9448ad7f21be7d107b5d561cc8 SHA512 3997057f02c2862cf238070d1a520dc1fbbbc5dc103ad524189a97d6c114ef24a33e6fc9c64e32d8eb07c4c0241ed9772c37fb078d9708426da1f5864c4718d5
+DIST di-4.50.tar.gz 229467 BLAKE2B b597f2d16d6d1003711e301fc584ca5a1aee90bfb041d1b198348954864bf1000a0e19ca5dcc2c56683c0ff1bbfa22365b9ca5a26f2d7936374e31d479e4d05d SHA512 6183004c10d121054d310e2e5ef1e96ceffd38012c3b3d80f1ce1f0155269334ae418ce651b74daa261e255b76d1999be6975fbc253ea320a8f6ba410166e312
diff --git a/sys-block/di/di-4.50.ebuild b/sys-block/di/di-4.50.ebuild
new file mode 100644
index 000000000000..0b91156a628d
--- /dev/null
+++ b/sys-block/di/di-4.50.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Disk Information Utility"
+HOMEPAGE="https://diskinfo-di.sourceforge.io/"
+SRC_URI="mirror://sourceforge/diskinfo-di/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+RESTRICT="test" #405205, #405471
+
+BDEPEND="nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.33-build.patch
+)
+
+src_configure() {
+ emake checkbuild
+ emake -C C config.h
+}
+
+src_compile() {
+ emake prefix=/usr CC="$(tc-getCC)" NLS=$(usex nls T F)
+}
+
+src_install() {
+ emake install prefix="${D}/usr"
+ # default symlink is broken
+ dosym di /usr/bin/mi
+ dodoc README.txt
+}