Nightly build configuration and scripts for powerpc linux hosted.
[tangerine.git] / scripts / nightly / pkg / contrib-ppc
blob05741c5aca36ec2d75d4f823e4400612f7449dc7
1 #!/bin/zsh
2 # Creates AROS/linux-ppc contrib package.
4 BUILDTARGET=linux-ppc
6 source $SP/setup
7 # The log-name MUST match the name of the package script
8 setl contrib-$BUILDTARGET.log
10 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
12 printi "Creating AROS contrib binary package..."
13 PACKAGE=$BASENAME-$BUILDTARGET-contrib
14 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
16 copy $SOURCE_AROS $BUILD_BASE/AROS
17 copy $SOURCE_CONTRIB $BUILD_BASE/AROS/contrib
19 cd $BUILD_BASE/AROS
20 execute ./configure --target=$BUILDTARGET --enable-ccache --enable-build-type=nightly
21 make tools mmake contrib
23 cd $BUILD_BASE/AROS/bin/$BUILDTARGET/AROS
24 move Extras $PACKAGE
25 copy $SOURCE_AROS/LICENSE $PACKAGE
26 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
27 archive $ARCHIVE $PACKAGE
29 cd $ROOT
30 delete $BUILD_BASE/AROS
31 resetl