diff options
Diffstat (limited to 'app-admin/integrit/integrit-4.0.ebuild')
-rw-r--r-- | app-admin/integrit/integrit-4.0.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-admin/integrit/integrit-4.0.ebuild b/app-admin/integrit/integrit-4.0.ebuild new file mode 100644 index 000000000000..5c888dc0cfa9 --- /dev/null +++ b/app-admin/integrit/integrit-4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/integrit/integrit-4.0.ebuild,v 1.1 2007/01/17 09:10:12 hyakuhei Exp $ + +DESCRIPTION="file integrity verification program" +HOMEPAGE="http://integrit.sourceforge.net/" +SRC_URI="mirror://sourceforge/integrit/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="virtual/libc" + +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() { + dosbin integrit || die + dolib libintegrit.a + dodoc Changes HACKING 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)." +} |