2 # Creates amiga-m68k binary packages.
7 # The log-name MUST match the name of the package script
10 ARCHIVE_BASE
=$ARCHIVE_BASE/Binaries
12 printi
"Creating AROS/"$BUILDTARGET" system package..."
13 PACKAGE
=$BASENAME-$BUILDTARGET-system
14 ARCHIVE
=$ARCHIVE_BASE/$PACKAGE.
tar.bz2
15 ISOFILE
=aros-
$BUILDTARGET.iso
17 delete
$BUILD_BASE/AROS
18 copy
$SOURCE_AROS $BUILD_BASE/AROS
21 export PATH
=$PATH:$CFG_M68K_CROSSTOOLS
22 execute .
/configure
--target=$BUILDTARGET --enable-ccache --enable-build-type=nightly
--with-serial-debug $PORTSSOURCESOPT
26 cd $BUILD_BASE/AROS
/bin
/amiga-m68k
29 delete
$BUILD_BASE/AROS
/distfiles
/aros-amiga-m68k.elf
30 delete
$BUILD_BASE/AROS
/distfiles
/aros-amiga-m68k-reloc.elf
32 copy
$SOURCE_AROS/LICENSE
$PACKAGE
33 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
34 copy
$BUILD_BASE/AROS
/distfiles
/ $PACKAGE
35 delete
$PACKAGE/distfiles
/$ISOFILE
37 #archive $ARCHIVE $PACKAGE
40 printi
"Creating AROS/"$BUILDTARGET" bootiso package..."
41 PACKAGE
=$BASENAME-$BUILDTARGET-bootiso
42 ARCHIVE
=$ARCHIVE_BASE/$PACKAGE.
zip
45 copy
$SOURCE_AROS/LICENSE
$PACKAGE
46 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
47 move
$BUILD_BASE/AROS
/distfiles
/$ISOFILE $PACKAGE
48 ziparc
$ARCHIVE $PACKAGE
52 printi
"Creating AROS/"$BUILDTARGET" boot package..."
53 PACKAGE
=$BASENAME-$BUILDTARGET-boot
54 ARCHIVE
=$ARCHIVE_BASE/$PACKAGE.lha
56 move
$BUILD_BASE/AROS
/distfiles
$PACKAGE
57 copy
$SOURCE_AROS/LICENSE
$PACKAGE
58 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
60 lhaarc
$ARCHIVE $PACKAGE