diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-28 16:02:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-28 16:02:54 +0100 |
commit | a5509b9be1fe380ed210b8279d996e1f1b03017a (patch) | |
tree | 919df4b099c0e64e330833ddb01b17216b9cfc40 /sys-block/di/di-4.52.ebuild | |
parent | 9967860c0cd26c0940ee4b9ab6698e00e5b1260a (diff) |
gentoo auto-resync : 28:08:2023 - 16:02:54
Diffstat (limited to 'sys-block/di/di-4.52.ebuild')
-rw-r--r-- | sys-block/di/di-4.52.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys-block/di/di-4.52.ebuild b/sys-block/di/di-4.52.ebuild new file mode 100644 index 000000000000..fa7564c447bb --- /dev/null +++ b/sys-block/di/di-4.52.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="${EPREFIX}"/usr CC="$(tc-getCC)" NLS=$(usex nls T F) +} + +src_install() { + emake install prefix="${ED}"/usr + # default symlink is broken + dosym di /usr/bin/mi + dodoc README.txt +} |