diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild')
-rw-r--r-- | app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild new file mode 100644 index 000000000000..527828394d33 --- /dev/null +++ b/app-backup/pdumpfs/pdumpfs-1.3-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="A daily backup system similar to Plan9's dumpfs" +HOMEPAGE="http://0xcc.net/pdumpfs/" +SRC_URI="http://0xcc.net/pdumpfs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="l10n_ja" + +DEPEND=">=dev-lang/ruby-2.0.0_p598" + +src_prepare() { + # Bug #509960 + epatch "${FILESDIR}/${PN}-in.patch" \ + "${FILESDIR}/${PN}-test.patch" +} + +src_compile() { + emake pdumpfs +} + +src_test() { + # RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473. + export RUBYOPT="${GENTOO_RUBYOPT}" + emake check +} + +src_install() { + dobin pdumpfs + + doman man/man8/pdumpfs.8 + dohtml -r doc/* + + if use l10n_ja; then + insinto /usr/share/man/ja/man8 + doins man/ja/man8/pdumpfs.8 + fi + + dodoc ChangeLog README +} |