diff options
Diffstat (limited to 'sys-block/di')
-rw-r--r-- | sys-block/di/Manifest | 1 | ||||
-rw-r--r-- | sys-block/di/di-4.47.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/di/Manifest b/sys-block/di/Manifest index a761347c506a..12e3cd9df686 100644 --- a/sys-block/di/Manifest +++ b/sys-block/di/Manifest @@ -1,2 +1,3 @@ DIST di-4.46.tar.gz 217096 BLAKE2B 4757dec7d9c0da121d0057e8088ecb5994f60eec8de49db4a12e84a68d2ad9dc86462f01370786e0c03a792f39984aead2d838d34b4881396aacb39386635bfd SHA512 ead1172dfa9db74d6a8378f8ded460b365c0445d75d71154c67446585d63c0824f8fdc4818438b3d9c3c4795af518f1499c29762712fd62ab97e9be7e680d133 +DIST di-4.47.1.tar.gz 221051 BLAKE2B d1012ab500f808363ce445b6c0bb80f3e91f85560faff1d31bbed4f3d44f894dadb5d59d417a16335fce45659861b483dc82b53a59718ee1c8a1b6b21265d4d9 SHA512 3312634617b5614d36d7ce9c0725a4d03e55e694b9588db88bb1c2bfab05373516cadbab8a23db3328f4944b99ae07dacabb98d56cc909f0502d58ccc6f5301c DIST di-4.47.tar.gz 250479 BLAKE2B 64156867ab31c448dfc428331a54900a54df4689f851f86f6b8e33403b2f0b785aadd8140576bc75f03ed675cf31fffe15d577b477e5d07a4e678bf625f46f49 SHA512 6bb004a9230dd59174c59b823a80ccc9b237a08947ac15502a805cf95e8803c05ac4e8c2282164130db2e23e8f521bf16c30f2c0996c96a9612d139d66df89f5 diff --git a/sys-block/di/di-4.47.1.ebuild b/sys-block/di/di-4.47.1.ebuild new file mode 100644 index 000000000000..5a54e3014059 --- /dev/null +++ b/sys-block/di/di-4.47.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Disk Information Utility" +HOMEPAGE="https://gentoo.com/di/" +SRC_URI="https://gentoo.com/di/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +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 +} |