diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-11 11:15:32 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-11 11:15:32 +0200 |
commit | 7a10b7ce90aab475bd9b09dce24c25d40d148a32 (patch) | |
tree | 44f9315f72d6ef18ac27fd0ebdbc38a25bcb91cf /sys-block/di/di-4.45.ebuild | |
parent | app-misc/ca-certificates: Bump to version 20170717.3.36.1 (diff) | |
download | gentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.tar.gz gentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.tar.bz2 gentoo-7a10b7ce90aab475bd9b09dce24c25d40d148a32.zip |
sys-block/di: Bump to version 4.45
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sys-block/di/di-4.45.ebuild')
-rw-r--r-- | sys-block/di/di-4.45.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-block/di/di-4.45.ebuild b/sys-block/di/di-4.45.ebuild new file mode 100644 index 000000000000..c910d5e247d3 --- /dev/null +++ b/sys-block/di/di-4.45.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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="nls" + +RESTRICT="test" #405205, #405471 + +DEPEND="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 +} |