# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="The Coroner's Toolkit is a collection of programs for a post-mortem analysis of a UNIX system after break-in." SRC_URI="http://www.porcupine.org/forensics/${P}.tar.gz" HOMEPAGE="http://www.porcupine.org/forensics/tct.html" SLOT="0" LICENSE="IBM-Public-License" KEYWORDS="x86" DEPEND=">=dev-lang/perl-5.8" RDEPEND=">=dev-lang/perl-5.8" TCT_HOME=/opt/tct src_compile() { make || die } src_install() { dodir ${TCT_HOME} cp -r bin conf Date docs etc extras lazarus lib man ${D}${TCT_HOME} cp * ${D}${TCT_HOME}/docs rm -f ${D}${TCT_HOME}/docs/Makefile mv ${D}${TCT_HOME}/docs/reconfig ${D}${TCT_HOME}/reconfig } pkg_postinst() { einfo "Run from tct home \"perl reconfig\" for finish the installation or" einfo "execute \"ebuild /var/db/pkg/app-misc/${PF}.ebuild config\"" einfo "Look at ${TCT_HOME}/docs for important information about" einfo "The Coroner's Toolkit." } pkg_config() { ewarn ewarn "Reconfig files in ${TCT_HOME} ..." ewarn cd ${ROOT}${TCT_HOME} perl reconfig ewarn ewarn "Finish reconfig." }