Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/disktype/
Date: Thu, 25 Jun 2020 21:36:00
Message-Id: 1593120935.86d28effc21a8e5a884acee437fcf067781273f9.conikost@gentoo
1 commit: 86d28effc21a8e5a884acee437fcf067781273f9
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 25 19:14:30 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 21:35:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d28eff
7
8 sys-block/disktype: EAPI7
9
10 Closes: https://github.com/gentoo/gentoo/pull/16421
11 Package-Manager: Portage-2.3.101, Repoman-2.3.22
12 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 sys-block/disktype/disktype-9-r1.ebuild | 24 ++++++++++++++++++++++++
16 1 file changed, 24 insertions(+)
17
18 diff --git a/sys-block/disktype/disktype-9-r1.ebuild b/sys-block/disktype/disktype-9-r1.ebuild
19 new file mode 100644
20 index 00000000000..ebfafa2cc36
21 --- /dev/null
22 +++ b/sys-block/disktype/disktype-9-r1.ebuild
23 @@ -0,0 +1,24 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +inherit toolchain-funcs
30 +
31 +DESCRIPTION="Detect the content format of a disk or disk image"
32 +HOMEPAGE="http://disktype.sourceforge.net/"
33 +SRC_URI="mirror://sourceforge/disktype/${P}.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
38 +
39 +src_compile() {
40 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
41 +}
42 +
43 +src_install() {
44 + dobin disktype
45 + dodoc README HISTORY TODO
46 + doman disktype.1
47 +}