2 # Creates generic "hosted" binary packages.
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 if [ -z ${BUILDTARGETDIR+x} ]; then BUILDTARGETDIR
=$BUILDTARGET; fi
18 delete
$BUILD_BASE/AROS
19 copy
$SOURCE_AROS $BUILD_BASE/AROS
22 execute .
/configure
--target=$BUILDTARGET $BUILDEXTRAOPTS --enable-ccache --enable-build-type=nightly
$PORTSSOURCESOPT $AROSTOOLCHAININSTALLOPT $AROSTOOLCHAINOPT
24 make -j $MAKE_JOBS default-x11keymaptable
26 cd $BUILD_BASE/AROS
/bin
/$BUILDTARGETDIR
29 copy
$SOURCE_AROS/LICENSE
$PACKAGE
30 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
31 delete
$PACKAGE/Include
34 archive
$ARCHIVE $PACKAGE
36 if [ "$TESTEXE" != "" ]; then
38 copy
$SP/autotest
/* S
/
40 DISPLAY
=:1 timeout
$TESTTIMEOUT $TESTEXE $TESTARGS
41 printfile
"Test_Report.txt"
43 if [ ! -f PASSED
]; then
44 printe
"Package $ARCHIVE failed runtime tests. REMOVING ARCHIVE!"
49 printi
"Skipping runtime tests."
53 delete
$BUILD_BASE/AROS