Fixed typos.
[tangerine.git] / scripts / nightly / pkg / hosted-mingw32-i386
blob34616040b47898277465793a74b5588447e436ea
1 #!/bin/zsh
2 # Creates mingw32-i386 "hosted" binary packages.
4 BUILDTARGET=mingw32-i386
6 source $SP/setup
7 # The log-name MUST match the name of the package script
8 setl hosted-$BUILDTARGET.log
10 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
12 printi "Creating AROS/"$BUILDTARGET" system package..."
13 PACKAGE=$BASENAME-$BUILDTARGET-system
14 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.zip
16 delete $BUILD_BASE/AROS
17 copy $SOURCE_AROS $BUILD_BASE/AROS
18 copy $SOURCE_NECESSARY $BUILD_BASE/AROS/contrib
20 cd $BUILD_BASE/AROS
21 execute ./configure --target=$BUILDTARGET --enable-ccache --enable-build-type=nightly
22 make
24 cd $BUILD_BASE/AROS/bin/$BUILDTARGET
25 move AROS $PACKAGE
27 copy $SOURCE_AROS/LICENSE $PACKAGE
28 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
29 delete $PACKAGE/Include
30 delete $PACKAGE/lib
32 ziparc $ARCHIVE $PACKAGE
34 cd $ROOT
35 resetl