revert between 56095 -> 55830 in arch
[AROS.git] / scripts / nightly / pkg / hosted-mingw32-x86_64
blob55710c9fc52db865983bca7e044ecba131938256
1 #!/bin/zsh
2 # Creates mingw32-x86_64 "hosted" binary packages.
4 BUILDCPU=x86_64
5 BUILDTARGET=mingw32-$BUILDCPU
7 source $SP/setup
8 # The log-name MUST match the name of the package script
9 setl hosted-$BUILDTARGET.log
11 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
13 printi "Creating AROS/"$BUILDTARGET" system package..."
14 PACKAGE=$BASENAME-$BUILDTARGET-system
15 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
17 delete $BUILD_BASE/AROS
18 copy $SOURCE_AROS $BUILD_BASE/AROS
20 cd $BUILD_BASE/AROS
21 execute ./configure --target=$BUILDTARGET --enable-ccache --enable-build-type=nightly $PORTSSOURCESOPT $AROSTOOLCHAININSTALLOPT $AROSTOOLCHAINOPT
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 archive $ARCHIVE $PACKAGE
34 cd $ROOT
35 resetl