commit:     86d28effc21a8e5a884acee437fcf067781273f9
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jun 25 19:14:30 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jun 25 21:35:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d28eff

sys-block/disktype: EAPI7

Closes: https://github.com/gentoo/gentoo/pull/16421
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-block/disktype/disktype-9-r1.ebuild | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/sys-block/disktype/disktype-9-r1.ebuild 
b/sys-block/disktype/disktype-9-r1.ebuild
new file mode 100644
index 00000000000..ebfafa2cc36
--- /dev/null
+++ b/sys-block/disktype/disktype-9-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Detect the content format of a disk or disk image"
+HOMEPAGE="http://disktype.sourceforge.net/";
+SRC_URI="mirror://sourceforge/disktype/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       dobin disktype
+       dodoc README HISTORY TODO
+       doman disktype.1
+}

Reply via email to