diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-01-17 14:07:05 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:13:45 -0500 |
commit | e5e784fa637e281e7441efce8b745084f43d72d0 (patch) | |
tree | 79a55b0244a8133acf38ea233a07f0a1c637f847 /development/avr-gdb | |
parent | 7fc671ae60ae3f6fa0edce3265cd3ff1f05714e3 (diff) |
development/avr-gdb: Updated for version 10.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/avr-gdb')
-rw-r--r-- | development/avr-gdb/avr-gdb.SlackBuild | 15 | ||||
-rw-r--r-- | development/avr-gdb/avr-gdb.info | 8 |
2 files changed, 13 insertions, 10 deletions
diff --git a/development/avr-gdb/avr-gdb.SlackBuild b/development/avr-gdb/avr-gdb.SlackBuild index 92d5be38b9e81..15ff70f92f907 100644 --- a/development/avr-gdb/avr-gdb.SlackBuild +++ b/development/avr-gdb/avr-gdb.SlackBuild @@ -5,13 +5,13 @@ # Written by thorsten PRGNAM=avr-gdb -VERSION=${VERSION:-7.8.1} +VERSION=${VERSION:-10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,7 +64,9 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \ --target=avr \ --disable-nls \ --enable-languages=c,c++ \ - --with-python=/usr/bin/python2 \ + --with-python=/usr/bin/python3 \ + --with-guile=guile-2.2 \ + --with-system-readline \ --with-system-gdbinit=/etc/gdb/gdbinit \ --program-prefix="avr-" \ --program-suffix="" \ @@ -80,7 +82,8 @@ 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 rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +( cd $PKG/usr/info + for i in *; do mv $i avr-$i; gzip -9 avr-$i; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION for file in COPYING* ChangeLog MAINTAINERS README*; do diff --git a/development/avr-gdb/avr-gdb.info b/development/avr-gdb/avr-gdb.info index 18c9d11808cb3..0d517fb6834ba 100644 --- a/development/avr-gdb/avr-gdb.info +++ b/development/avr-gdb/avr-gdb.info @@ -1,10 +1,10 @@ PRGNAM="avr-gdb" -VERSION="7.8.1" +VERSION="10.1" HOMEPAGE="http://www.gnu.org/software/gdb/" -DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-7.8.1.tar.xz" -MD5SUM="8072be87a94be0936bc3b4b6941b0862" +DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-10.1.tar.xz" +MD5SUM="1822a7dd45e7813f4408407eec1a6af1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="avr-gcc" +REQUIRES="avr-gcc guile2.2" MAINTAINER="Thorsten" EMAIL="thorsten.johannvorderbrueggen@t-online.de" |