mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/avr-gdb: Updated for version 7.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
73fc1d43b9
commit
a1a86b700f
2 changed files with 17 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue