diff options
Diffstat (limited to 'app-misc/fdupes/fdupes-9999.ebuild')
-rw-r--r-- | app-misc/fdupes/fdupes-9999.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/fdupes/fdupes-9999.ebuild b/app-misc/fdupes/fdupes-9999.ebuild new file mode 100644 index 000000000000..f27d34c2d82a --- /dev/null +++ b/app-misc/fdupes/fdupes-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic git-r3 toolchain-funcs + +MY_P="${PN}-${PV/_pre/-PR}" + +DESCRIPTION="Identify/delete duplicate files residing within specified directories" +HOMEPAGE="https://github.com/adrianlopezroche/fdupes" +EGIT_REPO_URI="https://github.com/adrianlopezroche/fdupes.git" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="" +SRC_URI="" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +DOCS=( CHANGES CONTRIBUTORS README ) + +src_configure() { + append-lfs-flags + tc-export CC +} + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs +} |