2 # Creates generic contrib package.
6 # The log-name MUST match the name of the package script
7 setl contrib-
$BUILDTARGET.log
9 ARCHIVE_BASE
=$ARCHIVE_BASE/Binaries
11 printi
"Creating AROS/$BUILDTARGET contrib binary package..."
13 delete
$BUILD_BASE/AROS
14 copy
$SOURCE_AROS $BUILD_BASE/AROS
15 copy
$SOURCE_CONTRIB $BUILD_BASE/AROS
/contrib
18 execute .
/configure
--target=$BUILDTARGET --enable-ccache --enable-build-type=nightly
$PORTSSOURCESOPT $AROSTOOLCHAININSTALLOPT $AROSTOOLCHAINOPT
19 make -j $MAKE_JOBS tools mmake contrib
21 PACKAGE
=$BASENAME-$BUILDTARGET-contrib
22 ARCHIVE
=$ARCHIVE_BASE/$PACKAGE.
tar.bz2
24 if [ -z ${BUILDTARGETDIR+x} ]; then BUILDTARGETDIR
=$BUILDTARGET; fi
26 cd $BUILD_BASE/AROS
/bin
/$BUILDTARGETDIR/AROS
29 move Development
$PACKAGE/
31 mkdir
-p $PACKAGE/Prefs
/Env-Archive
/SYS
32 move Prefs
/Env-Archive
/SYS
/Packages
$PACKAGE/Prefs
/Env-Archive
/SYS
/
33 copy
$SOURCE_AROS/LICENSE
$PACKAGE
34 copy
$SOURCE_AROS/ACKNOWLEDGEMENTS
$PACKAGE
35 archive
$ARCHIVE $PACKAGE
38 delete
$BUILD_BASE/AROS