sys-block/di: Bump to version 4.51

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2021-11-09 15:51:05 +01:00
parent a219f9ecf5
commit f693425b6d
2 changed files with 39 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}