aboutsummaryrefslogtreecommitdiff
path: root/development/avr-gdb/avr-gdb.SlackBuild
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/avr-gdb.SlackBuild
parent73fc1d43b90410e7fa73961d8c944f79b169390d (diff)
development/avr-gdb: Updated for version 7.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/avr-gdb/avr-gdb.SlackBuild')
-rw-r--r--development/avr-gdb/avr-gdb.SlackBuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/development/avr-gdb/avr-gdb.SlackBuild b/development/avr-gdb/avr-gdb.SlackBuild
index 01206cc07dc70..92d5be38b9e81 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