summaryrefslogtreecommitdiffstats
path: root/development/avr-gcc/avr-gcc.SlackBuild
diff options
context:
space:
mode:
author Marek Buras2010-12-17 03:03:53 +0100
committer Erik Hanson2010-12-17 14:56:49 +0100
commitd91bdbe42cc0b610e98d8b70443706923619c12a (patch)
treea7eb8ae39dc0f9ceb342ecc1b5c07591db369f6d /development/avr-gcc/avr-gcc.SlackBuild
parent3a264f7bfe428903a112967e56612ae09c37a6d5 (diff)
downloadslackbuilds-d91bdbe42cc0b610e98d8b70443706923619c12a.tar.gz
development/avr-gcc: Updated for version 4.4.4.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/avr-gcc/avr-gcc.SlackBuild')
-rw-r--r--development/avr-gcc/avr-gcc.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/development/avr-gcc/avr-gcc.SlackBuild b/development/avr-gcc/avr-gcc.SlackBuild
index da2936b053..ccd8e8e9e7 100644
--- a/development/avr-gcc/avr-gcc.SlackBuild
+++ b/development/avr-gcc/avr-gcc.SlackBuild
@@ -8,16 +8,14 @@
PRGNAM=avr-gcc
-VERSION=${VERSION:-4.3.4}
+VERSION=${VERSION:-4.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -91,14 +89,12 @@ rm -rf $PKG/usr/libexec/gcc/avr/$VERSION/install-tools
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for file in COPYING* ChangeLog MAINTAINERS NEWS README*; do
- cp ../gcc-$VERSION/$file $PKG/usr/doc/$PRGNAM-$VERSION
+ cp ../gcc-$VERSION/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild