Fixed typos.
[tangerine.git] / scripts / nightly / pkg / hosted
blobab3fb32f6ceca9911fe828dc17f33e9a16cd29e0
1 #!/bin/zsh
2 # Creates generic "hosted" binary packages.
4 source $SP/setup
5 # The log-name MUST match the name of the package script
6 setl hosted-$BUILDTARGET.log
8 ARCHIVE_BASE=$ARCHIVE_BASE/Binaries
10 printi "Creating hosted binary packages..."
12 printi "Creating AROS/"$BUILDTARGET" system package..."
13 PACKAGE=$BASENAME-$BUILDTARGET-system
14 ARCHIVE=$ARCHIVE_BASE/$PACKAGE.tar.bz2
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
23 make default-x11keymaptable
25 cd $BUILD_BASE/AROS/bin/$BUILDTARGET
26 move AROS $PACKAGE
28 copy $SOURCE_AROS/LICENSE $PACKAGE
29 copy $SOURCE_AROS/ACKNOWLEDGEMENTS $PACKAGE
30 delete $PACKAGE/Include
31 delete $PACKAGE/lib
33 archive $ARCHIVE $PACKAGE
35 cd $ROOT
36 delete $BUILD_BASE/AROS
37 resetl