app-misc/fdupes: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 1 Aug 2017 21:36:39 +0000 (23:36 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 1 Aug 2017 21:38:10 +0000 (23:38 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-misc/fdupes/fdupes-1.6.1-r1.ebuild [new file with mode: 0644]

diff --git a/app-misc/fdupes/fdupes-1.6.1-r1.ebuild b/app-misc/fdupes/fdupes-1.6.1-r1.ebuild
new file mode 100644 (file)
index 0000000..b127dfc
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+SRC_URI="https://github.com/adrianlopezroche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+src_prepare() {
+       default
+       append-lfs-flags
+}
+
+src_compile() {
+       emake CC=$(tc-getCC)
+}
+
+src_install() {
+       dobin "${PN}"
+       doman "${PN}.1"
+       einstalldocs
+}