blob: 0065cc7957f8ffa4d3779e2daaf7d670f2cf7bb3 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/integrit/integrit-3.02.00.ebuild,v 1.6 2003/06/29 15:24:07 aliz Exp $
DESCRIPTION="file integrity verification program"
SRC_URI="http://www.noserose.net/e/integrit/download/${P}.tar.gz"
HOMEPAGE="http://integrit.sourceforge.net/"
SLOT="0"
KEYWORDS="x86 ~ppc"
LICENSE="GPL-2"
DEPEND="virtual/glibc"
S=${WORKDIR}/${PN}-3.02
src_compile() {
econf --prefix=/usr || die
emake || die
emake utils || die
cd ${S}/doc
emake || die
cd ${S}/hashtbl
emake hashtest || die
mv README README.hashtbl
}
src_install() {
into /usr
dosbin integrit
dolib libintegrit.a
dodoc Changes HACKING INSTALL LICENSE README todo.txt
cd ${S}/utils
dosbin i-viewdb
dobin i-ls
cd ${S}/hashtbl
dolib libhashtbl.a
insinto /usr/include
doins hashtbl.h
dobin hashtest
dodoc README.hashtbl
cd ${S}/doc
doman i-ls.1 i-viewdb.1 integrit.1
doinfo integrit.info
cd ${S}/examples
docinto examples
dodoc *
}
pkg_postinst() {
einfo "It is recommended that the integrit binary is copied to a secure"
einfo "location and re-copied at runtime or run from a secure medium."
einfo "You should also create a configuration file (see examples)."
echo
}
|