You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
931 B
39 lines
931 B
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-backup/pdumpfs/pdumpfs-1.3-r1.ebuild,v 1.7 2010/04/03 04:36:58 matsuu Exp $
|
|
|
|
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="linguas_ja"
|
|
|
|
DEPEND=">=dev-lang/ruby-1.8.1"
|
|
|
|
src_compile() {
|
|
emake pdumpfs || die "make pdumpfs failed"
|
|
}
|
|
|
|
src_test() {
|
|
# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 and #163473.
|
|
export RUBYOPT="${GENTOO_RUBYOPT}"
|
|
emake check || die "make check failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin pdumpfs || die
|
|
|
|
doman man/man8/pdumpfs.8
|
|
dohtml -r doc/*
|
|
|
|
if use linguas_ja; then
|
|
insinto /usr/share/man/ja/man8
|
|
doins man/ja/man8/pdumpfs.8
|
|
fi
|
|
|
|
dodoc ChangeLog README
|
|
}
|