added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / scripts / nightly / pkg / i386-pc
blob8d7c16aa2c25836eb0ebbacf999e0a28075ece7f
1 #!/bin/zsh
2 # Creates AROS/i386-pc binary packages.
4 source $SP/setup
5 setl i386-pc.log
7 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
8 BUILDTARGET=pc-i386
10 printi "Creating AROS/i386-pc binary packages..."
12 delete $BUILD_BASE/AROS
13 copy $SOURCE_AROS $BUILD_BASE/AROS
14 copy $SOURCE_NECESSARY $BUILD_BASE/AROS/contrib
16 cd $BUILD_BASE/AROS
17 execute ./configure --target=$BUILDTARGET --enable-build-type=nightly
18 make
20 ISOFILE=aros-$BUILDTARGET.iso
21 PACKAGE=$BASENAME-i386-pc-boot-iso
22 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.zip
24 CONTRIB_ARCHIVE=$ARCHIVE_ROOT/$VERSION/Binaries/AROS-$VERSION-i386-all-contrib.tar.bz2
25 if [ -f $CONTRIB_ARCHIVE ]; then
26 echo "--- Binary contrib package found, unarchiving..."
27 cd $BUILD_BASE/AROS/bin/pc-i386/AROS
28 execute tar xjf $CONTRIB_ARCHIVE
29 delete Extras
30 move AROS-$VERSION-i386-all-contrib Extras
31 else
32 echo "--- Binary contrib package not found, skipping..."
35 cd $BUILD_BASE/AROS
36 make bootiso
37 makedir $BUILD_BASE/$PACKAGE
38 copy $BUILD_BASE/AROS/distfiles/$ISOFILE $BUILD_BASE/$PACKAGE
39 cd $BUILD_BASE
40 copy $SOURCE_AROS/LICENSE $PACKAGE
41 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
42 ziparc $ARCHIVE $PACKAGE
43 delete $PACKAGE
45 cd $ROOT
46 delete $BUILD_BASE/AROS
47 resetl