summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-06-25 21:14:30 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-06-25 23:35:35 +0200
commit86d28effc21a8e5a884acee437fcf067781273f9 (patch)
tree71b4aa1b6d1643576b65e6decbd6228b3287f138 /sys-block/disktype
parentapp-admin/fam: Old (diff)
downloadgentoo-86d28effc21a8e5a884acee437fcf067781273f9.tar.gz
gentoo-86d28effc21a8e5a884acee437fcf067781273f9.tar.bz2
gentoo-86d28effc21a8e5a884acee437fcf067781273f9.zip
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@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-block/disktype')
-rw-r--r--sys-block/disktype/disktype-9-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
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
+}