summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild')
-rw-r--r--sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild b/sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild
deleted file mode 100644
index e027e53c153f..000000000000
--- a/sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/openmosix-3dmon-stats/openmosix-3dmon-stats-0.2.1.ebuild,v 1.6 2006/02/17 16:48:49 blubb Exp $
-
-inherit eutils
-
-S=${WORKDIR}/mosstatd-${PV}
-DESCRIPTION="Statistics daemon for three dimensional openmosix's monitoring tool"
-SRC_URI="mirror://sourceforge/threedmosmon/mosstatd-${PV}.tar.gz"
-HOMEPAGE="http://sourceforge.net/projects/threedmosmon"
-DEPEND="virtual/libc
- sys-cluster/openmosix-user"
-RDEPEND="${DEPEND}"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="-* ~x86"
-IUSE=""
-
-pkg_setup() {
- if [ -z "`readlink /usr/src/linux|grep openmosix`" ]; then
- eerror
- eerror "Your linux kernel sources do not appear to be openmosix,"
- eerror "please check your /usr/src/linux symlink."
- eerror
- die
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-makefile+init-script.patch \
- || die "Failed to patch the source."
-}
-
-src_compile() {
- cd ${S}
- make
-}
-
-src_install() {
- dodir /usr/sbin
- dodir /etc/init.d
- dodir /usr/share/doc
-
- cd ${S}
- chmod 0755 mosstatd && cp -f ./mosstatd ${D}/usr/sbin
- chmod 0750 mosstat && cp -f ./mosstat ${D}/etc/init.d/mosstat
-
- cd ${S}
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo
- einfo " Type:"
- einfo " # rc-update add mosstat default"
- einfo " to add openMosix to the default runlevel."
- einfo
-}