version bump, corrected source uri
authorMichael Imhof <tantive@gentoo.org>
Sun, 13 Oct 2002 21:35:15 +0000 (21:35 +0000)
committerMichael Imhof <tantive@gentoo.org>
Sun, 13 Oct 2002 21:35:15 +0000 (21:35 +0000)
sys-apps/mosix-user/ChangeLog
sys-apps/mosix-user/files/digest-mosix-user-1.8.0 [new file with mode: 0644]
sys-apps/mosix-user/mosix-user-1.8.0.ebuild [new file with mode: 0644]

index fe19983fc63e04591bdeae49f3e83491d5aa384e..6ffec991fd67c9554106175ce105e5b11fe2fba3 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/mosix-user
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/ChangeLog,v 1.4 2002/07/21 20:21:30 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/ChangeLog,v 1.5 2002/10/13 21:35:15 tantive Exp $
+
+
+*mosix-user-1.8.0.ebuild (13 Oct 2002)
+
+  13 Oct 2002; Michael Imhof <tantive@gentoo.org>
+  version bumped, corrected source uri.
 
 *mosix-user-1.5.7.ebuild (14 July 2002)
 
diff --git a/sys-apps/mosix-user/files/digest-mosix-user-1.8.0 b/sys-apps/mosix-user/files/digest-mosix-user-1.8.0
new file mode 100644 (file)
index 0000000..3120e5a
--- /dev/null
@@ -0,0 +1 @@
+MD5 9e8b8ce3c6ca6a5e759ada15b0086f78 MOSIX-1.8.0.tgz 104365
diff --git a/sys-apps/mosix-user/mosix-user-1.8.0.ebuild b/sys-apps/mosix-user/mosix-user-1.8.0.ebuild
new file mode 100644 (file)
index 0000000..43f7c74
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mosix-user/mosix-user-1.8.0.ebuild,v 1.1 2002/10/13 21:35:15 tantive Exp $
+
+S=${WORKDIR}/user
+DESCRIPTION="User-land utilities for MOSIX process migration (clustering) software"
+SRC_URI="http://www.mosix.org/ftps/MOSIX-${PV}.tgz"
+HOMEPAGE="http://www.mosix.org"
+KEYWORDS="~x86 -ppc -sparc -spar64 -alpha"
+SLOT="0"
+LICENSE="as-is"
+DEPEND=">=sys-libs/ncurses-5.2"
+
+src_unpack() {
+       mkdir ${S}; cd ${S}
+       tar -xz --no-same-owner -f ${DISTDIR}/${A} MOSIX-${PV}/user.tar MOSIX-${PV}/manuals.tar 
+       mv MOSIX-${PV}/*.tar .
+       rm -rf MOSIX-${PV}
+       tar -x --no-same-owner -f user.tar -C ${S}      
+       tar -x --no-same-owner -f manuals.tar -C ${S}
+}
+
+src_compile() {
+       cd ${S}
+       local x
+       for x in lib/moslib sbin/setpe sbin/tune bin/mosrun usr.bin/mon usr.bin/migrate usr.bin/mosctl
+       do
+               cd $x
+               make || die
+               cd ../..
+       done
+}
+
+src_install () {
+       cd ${S}
+       make ROOT=${D} PREFIX=${D}/usr install
+       dodir /usr/share        
+       cd ${D}/usr
+       mv man share    
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/mosix.init mosix
+       insinto /etc
+       #stub mosix.map file
+       doins ${FILESDIR}/mosix.map
+       cd ${S}
+       doman man?/*
+}
+
+pkg_postinst() {
+       echo
+       echo " To complete MOSIX installation, edit /etc/mosix.map and then type:
+       echo "# rc-update add mosix default
+       echo " ...to add MOSIX to the default runlevel.  This particular version of"
+       echo " mosix-user has been designed to work with the 2.4.19 kernel."
+       echo
+}