2 # Creates AROS/raspi-armhf binary packages.
4 BUILDTARGET
=raspi-armhf
7 if [ "$VARIANT" != "" ]; then
8 BUILDTARGET
=$VARIANT-$TARGET
13 # The log-name MUST match the name of the package script
14 setl aros-
$BUILDTARGET.log
16 ARCHIVE_BASE
=$ARCHIVE_BASE/Binaries
18 printi
"Creating AROS/$BUILDTARGET binary packages..."
20 delete
$BUILD_BASE/AROS
21 copy
$SOURCE_AROS $BUILD_BASE/AROS
22 copy
$SOURCE_CONTRIB $BUILD_BASE/AROS
/contrib
25 execute .
/configure
--target=$TARGET --enable-target-variant=$VARIANT --enable-ccache --with-paranoia --enable-build-type=nightly
28 DISTFILE
=$BASENAME-$BUILDTARGET.
tar.gz
29 ARCHIVE
=$ARCHIVE_BASE/$DISTFILE
31 CONTRIBPACKAGE
=$BASENAME-$BUILDTARGET-contrib
32 CONTRIBARCHIVE
=$ARCHIVE_ROOT/$VERSION/Binaries
/$CONTRIBPACKAGE.
tar.bz2
33 if [ -f $CONTRIBARCHIVE ]; then
34 echo "--- Binary contrib package found, unarchiving..."
35 cd $BUILD_BASE/AROS
/bin
/$BUILDTARGET/AROS
36 execute
tar xjf
$CONTRIBARCHIVE
38 move
$CONTRIBPACKAGE Extras
40 echo "--- Binary contrib package not found, skipping..."
45 copy
$BUILD_BASE/AROS
/distfiles
/$DISTFILE $ARCHIVE
48 delete
$BUILD_BASE/AROS