diff options
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 |