summaryrefslogtreecommitdiff
blob: fcb686d4a14f1d15da5ee2bab64804db6d2cad1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

COMMIT="1dc111308356d999f2a32aa50b6a0737ec5e6b09"
DESCRIPTION="glastree is a poor mans snapshot utility using hardlinks written in perl"
HOMEPAGE="http://www.igmus.org/code/"
SRC_URI="https://github.com/jeremywohl/glastree/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-lang/perl
	dev-perl/Date-Calc
"
BDEPEND="test? ( ${RDEPEND} )"

PATCHES=(
	"${FILESDIR}"/${PN}-posix-make.patch
)

src_compile() { :; }

src_install() {
	dodir /usr/share/man/man1
	emake INSTROOT="${ED}"/usr INSTMAN=share/man install
	dodoc README CHANGES THANKS
}