diff options
author | Marek Buras <cyfr0n@go2.pl> | 2010-12-17 00:03:53 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-12-17 07:56:49 -0600 |
commit | d91bdbe42cc0b610e98d8b70443706923619c12a (patch) | |
tree | a7eb8ae39dc0f9ceb342ecc1b5c07591db369f6d /development/avr-gcc/avr-gcc.SlackBuild | |
parent | 3a264f7bfe428903a112967e56612ae09c37a6d5 (diff) |
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.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/development/avr-gcc/avr-gcc.SlackBuild b/development/avr-gcc/avr-gcc.SlackBuild index da2936b0534b0..ccd8e8e9e73e0 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 |