diff options
author | 2002-11-04 20:05:59 +0000 | |
---|---|---|
committer | 2002-11-04 20:05:59 +0000 | |
commit | 902de6046fbc411b6137578b94979ba9b728253a (patch) | |
tree | 6bc22cef93ed55de8c650f2aaca1ceb85ce86cac /sys-cluster/mosix-user/mosix-user-1.5.7.ebuild | |
parent | New ebuild. See bug #8846 (diff) | |
download | gentoo-2-902de6046fbc411b6137578b94979ba9b728253a.tar.gz gentoo-2-902de6046fbc411b6137578b94979ba9b728253a.tar.bz2 gentoo-2-902de6046fbc411b6137578b94979ba9b728253a.zip |
Moved to sys-cluster
Diffstat (limited to 'sys-cluster/mosix-user/mosix-user-1.5.7.ebuild')
-rw-r--r-- | sys-cluster/mosix-user/mosix-user-1.5.7.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sys-cluster/mosix-user/mosix-user-1.5.7.ebuild b/sys-cluster/mosix-user/mosix-user-1.5.7.ebuild new file mode 100644 index 000000000000..f708ed051367 --- /dev/null +++ b/sys-cluster/mosix-user/mosix-user-1.5.7.ebuild @@ -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-cluster/mosix-user/mosix-user-1.5.7.ebuild,v 1.1 2002/11/04 20:05:59 tantive Exp $ + +S=${WORKDIR}/user +DESCRIPTION="User-land utilities for MOSIX process migration (clustering) software" +SRC_URI="http://www.mosix.cs.huji.ac.il/ftps/MOSIX-${PV}.tar.gz" +HOMEPAGE="http://www.mosix.org/" +KEYWORDS="x86 -ppc" +SLOT="0" +LICENSE="MOSIX" +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.13 kernel." + echo +} |