Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 compile coLinux on coLinux with Debian sarge/testing

closed
nobody
None
5
2004-06-23
2004-05-09
Robert Citek
No

This script will compile the coLinux binaries on a
Debian sarge/testing release.

#!/bin/bash
# (c) 2004 - Robert Citek
# licensed under the GPL -
http://www.gnu.org/licenses/gpl.txt
set -x

# setup environment

export snapshot=20040421
export build_patch=20040421
export SOURCE_DIR=$PWD/source
export PREFIX=$PWD/mingw32
for i in $SOURCE_DIR $PREFIX ; do
[ -d $i ] || mkdir -p $i || exit 1
done

# download tar files
wget -N -P $SOURCE_DIR
http://colinux.org/snapshots/colinux-$snapshot.tar.gz
wget -N -P $SOURCE_DIR
http://cwelug.org/~rwcitek/colinux/build-colinux.sh-$build_patch

# untar
tar -xzf $SOURCE_DIR/colinux-$snapshot.tar.gz

# apply patch
( cd colinux-$snapshot
patch -p1 < $SOURCE_DIR/build-colinux.sh-$build_patch
chmod u+x ./bin/build-colinux.sh
)

# to build everything uncomment the line below
( cd colinux-$snapshot/bin
# ./build-all.sh
)

Discussion

  • Robert Citek
    Robert Citek
    2004-05-09

    build.it.sh

     
    Attachments
  • Logged In: YES
    user_id=30412

    Thanks for the contribution.

     
    • status: open --> closed