X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fhpc%2Fopenmosixuserland%2Fopenmosixuserland;h=b849429cca7d5a2342e5933ae72278ee710cf5f3;hb=44395e5227c39f31ee6dcebc41fcb9afb70087e5;hp=c205cea630059915d76e3219d2cf54c562257144;hpb=5c31fce36bb2f759bb112595573c07b5f027ba3e;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/hpc/openmosixuserland/openmosixuserland b/packages/hpc/openmosixuserland/openmosixuserland index c205cea..b849429 100644 --- a/packages/hpc/openmosixuserland/openmosixuserland +++ b/packages/hpc/openmosixuserland/openmosixuserland @@ -2,18 +2,25 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 0.2.4 -# [S] 4-3 -# [D] openMosixUserland-0.2.4.tgz http://belnet.dl.sourceforge.net/sourceforge/openmosix/ +# [V] cvs +# [S] 5-10 +# [D] userspace-tools.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:userspace-tools +# [D] linux-openmosix-2_6.tar.bz2 cvs:anonymous:cvs.sourceforge.net:cvsroot/openmosix:linux-openmosix-2_6 + +srcdir="userspace-tools" +confopt="$confopt --with-kerneldir=/tmp/linux-openmosix-2_6/linux-openmosix-2_6" -srcdir="openMosixUserland-${ver}" pre_install() { - echo "patching configuration file ..." - sed 's%^OPENMOSIX.*%OPENMOSIX = /usr/src/linux%' configuration > \ - config.new && - mv config.new configuration + echo "extracting & configuring kernel tree ..." + tar --use-compress-program=$compress -xvf \ + $archdir/linux-openmosix-2_6.tar.bz2 -C /tmp + cd /tmp/linux-openmosix-2_6/linux-openmosix-2_6 + make oldconfig + cd - + # it's cvs + ./autogen.sh } -build_main() { - make +post_install() { + rm -rf /tmp/linux-openmosix-2_6 }