# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit versionator
MY_PV="$(replace_version_separator 2 -)"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="A system and services mointor for SysVinit systems."
HOMEPAGE="http://www.rfxnetworks.com/sim.php"
# Not sure how to pull a certain version..
SRC_URI="http://www.r-fx.ca/downloads/sim-current.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
src_unpack() {
unpack ${A}
}
src_install() {
dodir /usr/local/sim
cp -rf "${S}/"* "${D}usr/local/sim/" || die "Install failed!"
}
pkg_postinst() {
ewarn "*******************************************************"
ewarn ""
ewarn "Make sure to cd /usr/local/sim/ ; and then ./setup after install"
ewarn ""
ewarn "******************************************************"
}