summaryrefslogtreecommitdiff
path: root/development/avr-gdb
diff options
context:
space:
mode:
authorThorsten <thorsten.johannvorderbrueggen@t-online.de>2015-01-03 01:40:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-04 00:26:30 +0700
commita1a86b700f1d8eb257401d5cea76708edd792d2d (patch)
tree1365bbcc933b3cbd4fe91bc2e3ddab47de6cbbf2 /development/avr-gdb
parent73fc1d43b90410e7fa73961d8c944f79b169390d (diff)
downloadslackbuilds-a1a86b700f1d8eb257401d5cea76708edd792d2d.tar.gz
development/avr-gdb: Updated for version 7.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/avr-gdb')
-rw-r--r--development/avr-gdb/avr-gdb.SlackBuild20
-rw-r--r--development/avr-gdb/avr-gdb.info8
2 files changed, 17 insertions, 11 deletions
diff --git a/development/avr-gdb/avr-gdb.SlackBuild b/development/avr-gdb/avr-gdb.SlackBuild
index 01206cc07d..92d5be38b9 100644
--- a/development/avr-gdb/avr-gdb.SlackBuild
+++ b/development/avr-gdb/avr-gdb.SlackBuild
@@ -5,7 +5,7 @@
# Written by thorsten
PRGNAM=avr-gdb
-VERSION=${VERSION:-7.6.2}
+VERSION=${VERSION:-7.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf gdb-$VERSION avr-gdb-build-$VERSION
-tar xvf $CWD/gdb-$VERSION.tar.bz2
+tar xvf $CWD/gdb-$VERSION.tar.xz
mkdir avr-gdb-build-$VERSION
cd avr-gdb-build-$VERSION
chown -R root:root .
@@ -62,7 +62,10 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
--infodir=/usr/info \
--mandir=/usr/man \
--target=avr \
- --disable-texinfo \
+ --disable-nls \
+ --enable-languages=c,c++ \
+ --with-python=/usr/bin/python2 \
+ --with-system-gdbinit=/etc/gdb/gdbinit \
--program-prefix="avr-" \
--program-suffix="" \
--build=$ARCH-slackware-linux
@@ -76,6 +79,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
for file in COPYING* ChangeLog MAINTAINERS README*; do
cp ../gdb-$VERSION/$file $PKG/usr/doc/$PRGNAM-$VERSION
@@ -84,10 +90,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove useless stuff
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libiberty.a
-rm -rf $PKG/usr/info
-rm -rf $PKG/usr/include
-rm -rf $PKG/usr/share
-rm -rf $PKG/usr/man/man7
+rm -rf $PKG/usr/include/gdb
+rm -rf $PKG/usr/share/gdb
+rm -rf $PKG/usr/share/info
+rm -rf $PKG/usr/share/man
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/development/avr-gdb/avr-gdb.info b/development/avr-gdb/avr-gdb.info
index fa9f2d056d..18c9d11808 100644
--- a/development/avr-gdb/avr-gdb.info
+++ b/development/avr-gdb/avr-gdb.info
@@ -1,10 +1,10 @@
PRGNAM="avr-gdb"
-VERSION="7.6.2"
+VERSION="7.8.1"
HOMEPAGE="http://www.gnu.org/software/gdb/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-7.6.2.tar.bz2"
-MD5SUM="496399e96654fc0f899a5c964bc1f0f8"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-7.8.1.tar.xz"
+MD5SUM="8072be87a94be0936bc3b4b6941b0862"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avr-gcc"
-MAINTAINER="tjohann"
+MAINTAINER="Thorsten"
EMAIL="thorsten.johannvorderbrueggen@t-online.de"