#!/bin/bash

# arm/build
# Setup initial environment for building an ARMedSlack package
# Stuart Winter <stuart@armedslack.org>
# 31-May-2004

# Strictly speaking, I think that since ARMedSlack isn't at version 9.1
# I don't think the version of aaa_elflibs should be 9.1 either.  However,
# it doesn't really matter and it helps me see which version I have in comparison
# to Slackware-current.
#
source /usr/share/slackdev/buildkit.sh
export PACKAGE=aaa_elflibs
export PKGSERIES=a
export VERSION=11.0
export BUILD=2
export ARCH=arm
export SLACKPACKAGE=$PACKAGE-$VERSION-$ARCH-$BUILD.tgz

# Launch the package build script:
( ./$PACKAGE.SlackBuild ) >& /dev/stdout | tee build.$ARCH.log

# Compress the build log:
bzip2 -9f build.$ARCH.log
