summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-11-09 15:51:05 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-11-09 18:16:49 +0100
commitf693425b6df41329c028aed0a65d08d288071b32 (patch)
treec93a37802f815f1adc3f63fa711b30f1d2647288 /sys-block/di
parentsci-geosciences/qgis: Drop 3.20.0-r2, 3.20.2-r1 (diff)
downloadgentoo-f693425b6df41329c028aed0a65d08d288071b32.tar.gz
gentoo-f693425b6df41329c028aed0a65d08d288071b32.tar.bz2
gentoo-f693425b6df41329c028aed0a65d08d288071b32.zip
sys-block/di: Bump to version 4.51
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block/di')
-rw-r--r--sys-block/di/Manifest1
-rw-r--r--sys-block/di/di-4.51.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index 12b8f053c792..801fbf8da2be 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -1 +1,2 @@
DIST di-4.50.tar.gz 229467 BLAKE2B b597f2d16d6d1003711e301fc584ca5a1aee90bfb041d1b198348954864bf1000a0e19ca5dcc2c56683c0ff1bbfa22365b9ca5a26f2d7936374e31d479e4d05d SHA512 6183004c10d121054d310e2e5ef1e96ceffd38012c3b3d80f1ce1f0155269334ae418ce651b74daa261e255b76d1999be6975fbc253ea320a8f6ba410166e312
+DIST di-4.51.tar.gz 229504 BLAKE2B 05906e2cc34b88065ff1f38abaddd2ded00dc20e6ed35b942ac4f75eb7a1c95bf9b2451f0c6a4cd5fc75b6f17e226980dbc8f2b8490247f379371538022906ad SHA512 cc4323f372220f9ca12e53e8deea6f7a2d475c39c5e4951fbd0e9cb2ea6ac1b5b611dafcdbd09658560afdf8948d644c46d582e31d619286a6d01703911ea7dc
diff --git a/sys-block/di/di-4.51.ebuild b/sys-block/di/di-4.51.ebuild
new file mode 100644
index 000000000000..0b91156a628d
--- /dev/null
+++ b/sys-block/di/di-4.51.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
+}