Fixed typos.
[tangerine.git] / scripts / nightly / pkg / contrib-pc-i386
blob3b2449ea9781e47aa65aee6c4aa7b14e4abf32d9
1 #!/bin/zsh
2 # Creates AROS/pc-i386 contrib package.
4 BUILDTARGET=pc-i386
6 source $SP/setup
8 # The log-name MUST match the name of the package script
9 setl contrib-$BUILDTARGET.log
11 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
13 printi "Creating AROS/$BUILDTARGET contrib binary package..."
15 delete $BUILD_BASE/AROS
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 PACKAGE=$BASENAME-$BUILDTARGET-contrib
24 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
26 cd $BUILD_BASE/AROS/bin/$BUILDTARGET/AROS
27 move Extras $PACKAGE
28 copy $SOURCE_AROS/LICENSE $PACKAGE
29 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
30 archive $ARCHIVE $PACKAGE
32 cd $ROOT
33 delete $BUILD_BASE/AROS
34 resetl