summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/di/Manifest1
-rw-r--r--sys-block/di/di-4.40.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest
index 8150a5b14d68..7903d4f88cd8 100644
--- a/sys-block/di/Manifest
+++ b/sys-block/di/Manifest
@@ -2,3 +2,4 @@ DIST di-4.35.tar.gz 212325 SHA256 2cdfface7a85e3a359cb228277b090a0648cabe18520e4
DIST di-4.36.tar.gz 212957 SHA256 eb03d2ac0a3df531cdcb64b3667dbaebede60a4d3a4626393639cecb954c6d86 SHA512 ce7d38d3e23e68caa70bc85b623b7f4f633e2abf11b5df66b7104be49f1a1b2e64754d51ed00dd9ae629409e2a4760424f781e0351697b077e6aafb64bedad78 WHIRLPOOL 8f2c486d02dbe3f41d74d8a4e1df006ef0fa690bd0e5f3d71c6c47813724a899088fe51da2cdbb5407c27626949b1d048dc0bc1f20a8d964288c0abd8bbdb058
DIST di-4.37.tar.gz 213649 SHA256 10687963438be65fb150adc6e31d66c0892ded0f61ea67ec58455f7717ac4ad2 SHA512 60b3aae601d5b08bfddb2be3838872d7cbf17f9409c560b0725438a7d8d7b25b954a0c488815899d3cb8afd033662bff5780620448a935d58c7c239e10f99264 WHIRLPOOL ae7c70902d07004378eb22aa395f5a691d775880360f9a8d2650b527be1100e219a656192f50389c504a2a5a6ce181dcecc0b0f7c33bf72f60d05a514e4e3da7
DIST di-4.38.tar.gz 213584 SHA256 a8e721239ef16cd3645532be5788b47bd552c23491a688e06e633de10408d7f5 SHA512 a95ee5e7286ed755a4ef2e857831519f543c1432eb608fbb9dcf9cf3a979aa03e67cb765df19600149a59077c5db6c437fff61ac66e60a7b3c6160a2f59bf04f WHIRLPOOL 269e624696d7b82ade509f453fe1d26de70caa0a65095b62c7fbe4ccc13bde164dfb83076384b68ad86dcfc003b422b59032bd779e9a561ad73fb5cfb3e52177
+DIST di-4.40.tar.gz 219245 SHA256 cfff021f33cadcd8536967164ddbe2947c67b690b086b27e478540eedb002af1 SHA512 1f7aeed4f68b91dd6d2e0cfbafaa86d9b93d37c741b1087e3d9e788c34356878995485102f4018e48681925542a4814fa6245ccfa976c1c2ff406530715cde67 WHIRLPOOL fc2a6306a0c65dc16d1d3eee74630c272e4635df479b052376ea0030697dbe663c58c54cdffadf5930b8c69c7cd09430dcc90112ca19224de9048c422ef4ba3b
diff --git a/sys-block/di/di-4.40.ebuild b/sys-block/di/di-4.40.ebuild
new file mode 100644
index 000000000000..42ea3cc89ab1
--- /dev/null
+++ b/sys-block/di/di-4.40.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Disk Information Utility"
+HOMEPAGE="http://www.gentoo.com/di/"
+SRC_URI="http://www.gentoo.com/di/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RESTRICT="test" #405205, #405471
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-4.33-build.patch
+}
+
+src_configure() {
+ emake checkbuild
+ emake -C C config.h
+}
+
+src_compile() {
+ emake prefix=/usr CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake install prefix="${D}/usr"
+ # default symlink is broken
+ dosym di /usr/bin/mi
+ dodoc README
+}